summaryrefslogtreecommitdiff
path: root/gio/xdgmime
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-08-24 17:03:35 -0400
committerDan Winship <danw@gnome.org>2012-09-03 08:36:10 -0400
commit4e7031f073db2df7297feab35c9d353b0b3977d8 (patch)
treeb09ebad97ffa60a358dad18c8f52b2567e6c8d66 /gio/xdgmime
parent03be681e08dc9e706d2d22df01fd4edb004a7577 (diff)
downloadglib-4e7031f073db2df7297feab35c9d353b0b3977d8.tar.gz
xdgmime: plug a small leak
https://bugzilla.gnome.org/show_bug.cgi?id=682560
Diffstat (limited to 'gio/xdgmime')
-rw-r--r--gio/xdgmime/xdgmime.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}