From: Dan Winship Date: Mon, 3 Sep 2012 14:06:13 +0000 (-0400) Subject: Revert "xdgmime: plug a small leak" X-Git-Tag: 2.33.12~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d68609f9fd22e0e498f13fc7340075022f94ed48;p=platform%2Fupstream%2Fglib.git Revert "xdgmime: plug a small leak" This reverts commit 4e7031f073db2df7297feab35c9d353b0b3977d8. The string actually does get freed somewhere else, at least in some cases. Can be looked at again later if this reintroduces a leak. https://bugzilla.gnome.org/show_bug.cgi?id=683270 --- diff --git a/gio/xdgmime/xdgmime.c b/gio/xdgmime/xdgmime.c index ee79da7..846be39 100644 --- a/gio/xdgmime/xdgmime.c +++ b/gio/xdgmime/xdgmime.c @@ -156,7 +156,6 @@ xdg_mime_init_from_directory (const char *directory) _caches[n_caches + 1] = NULL; n_caches++; - free (file_name); return FALSE; } }