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_