This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
申请了一个动态数组
用完后释放失败
不要只给现象,这样无法分析,说明具体步骤和结果的细节。
free(data);这个语句没有起作用