Add missing g_key_file_free() call.
authorLaurent Monin <geeqie@norz.org>
Mon, 9 Mar 2009 19:37:58 +0000 (19:37 +0000)
committerLaurent Monin <geeqie@norz.org>
Mon, 9 Mar 2009 19:37:58 +0000 (19:37 +0000)
src/editors.c

index 60a8277..70539b1 100644 (file)
@@ -166,6 +166,7 @@ static gboolean editor_read_desktop_file(const gchar *path)
        if (!type || strcmp(type, "Application") != 0)
                {
                /* We only consider desktop entries of Application type */
+               g_key_file_free(key_file);
                return FALSE;
                }