阅读背景:

linux下C语言编程 一个堆栈错误的原因:*** glibc detected *** ./test: free(): invalid pointer:

来源:互联网 

测试代码

test.c