itcpip(7718,0x700007d43000) malloc: *** error for object 0x10660cc67: pointer being freed was not allocated
itcpip(7718,0x700007d43000) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6
错误的将char *tarUdid = "82ed23013561d651a1de0526e4b98b95c338a064"; 用 free(tarUdid)去释放内存了。。。。。。好久不碰C语言,学艺不精
C语言内存释放错误问题
博客提到在使用C语言时,错误地用某方式去释放内存,作者表示自己好久不碰C语言,学艺不精。反映了C语言使用中内存释放易出错的情况。

3148

被折叠的 条评论
为什么被折叠?



