GNOME Bugzilla – Bug 127098
static memory cleanup
Last modified: 2004-12-22 21:47:04 UTC
Some glib functions allocate static memory (g_x_error_quark, g_get_home_dir, etc.). There is no possibility to free this when glib is no longer used. This is mostly an issue when using the glib memory profiling vtable, because then spurious allocs show up, which means that I cannot use this information for debugging, which is a pity as the memory profiling facility is terribly nice. I would like to have a g_cleanup_everything function or so, to make sure all memory leaks shown are bugs of my application. If someone defines the API, I might implement some of this myself.
*** This bug has been marked as a duplicate of 64096 ***