From d68609f9fd22e0e498f13fc7340075022f94ed48 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 3 Sep 2012 10:06:13 -0400 Subject: [PATCH] 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 --- gio/xdgmime/xdgmime.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gio/xdgmime/xdgmime.c b/gio/xdgmime/xdgmime.c index ee79da7ee..846be39f7 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; } }