【FROM MSDN && 百科】原型:void free(void *ptr);#include或#include Deallocate space in memory释放ptr指向的存储空间。被释放的空间通常被送入可用存储区池,以后可在调用malloc、realloc以及realloc函数来再分配。注意:连续两次使用free函数,肯定会发生错误。malloc的次数要和free的次数相等。A block of memory previously allocated using a call t