How to correctly free a GHashTable of structs

前端 未结 0 1028
心在旅途
心在旅途 2020-12-14 06:31

I do not know how to free all memory used, especially for GHashTable. I have something like this:

struct person 
{ 
   char *name;
   int age; 
};

void free_         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题