GNOME Bugzilla – Bug 172231
possible leak
Last modified: 2005-04-01 16:41:52 UTC
While looking for other leaks I found something that looks leaky in gnome-vfs-mime-info-cache.c. Attaching a patch
Created attachment 39494 [details] [review] patch for leak
The same function misses a g_key_file_free (key_file); in (at the beginning) if (load_error != NULL) { g_error_free (load_error); return FALSE; } if (g_key_file_has_key (key_file, DESKTOP_ENTRY_GROUP, "OnlyShowIn", NULL)) { I think. The patch looks good otherwise.
Created attachment 39495 [details] [review] updated patch Totally missed that one. Updated patch attached. Ok to commit?
Commiting to both branches. Christophe acked the latest patch on IRC.