gio: fix small leak

https://bugzilla.gnome.org/show_bug.cgi?id=699361
This commit is contained in:
Tim Lunn 2013-05-01 10:39:26 +10:00
parent 0646e00e25
commit daf7f56491

View File

@ -549,6 +549,7 @@ g_desktop_app_info_new (const char *desktop_id)
found:
g_free (basename);
g_free (appinfo->desktop_id);
appinfo->desktop_id = g_strdup (desktop_id);
if (g_desktop_app_info_get_is_hidden (appinfo))