在应用程序运行时出现这样的错误: munmap_chunk(): invalid pointer 这是由于free时出现的问题 假如一个结构体如下 typedef struct MSG_HEAD_S { int flag;