From 4e7031f073db2df7297feab35c9d353b0b3977d8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 24 Aug 2012 17:03:35 -0400 Subject: [PATCH] xdgmime: plug a small leak https://bugzilla.gnome.org/show_bug.cgi?id=682560 --- gio/xdgmime/xdgmime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/xdgmime/xdgmime.c b/gio/xdgmime/xdgmime.c index 846be39f7..ee79da7ee 100644 --- a/gio/xdgmime/xdgmime.c +++ b/gio/xdgmime/xdgmime.c @@ -156,6 +156,7 @@ xdg_mime_init_from_directory (const char *directory) _caches[n_caches + 1] = NULL; n_caches++; + free (file_name); return FALSE; } }