summaryrefslogtreecommitdiff
path: root/glib/gbookmarkfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gbookmarkfile.c')
-rw-r--r--glib/gbookmarkfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/gbookmarkfile.c b/glib/gbookmarkfile.c
index 3f0275fb9..31706ba12 100644
--- a/glib/gbookmarkfile.c
+++ b/glib/gbookmarkfile.c
@@ -863,7 +863,8 @@ parse_application_element (GMarkupParseContext *context,
item->metadata->applications = g_list_prepend (item->metadata->applications, ai);
g_hash_table_replace (item->metadata->apps_by_name, ai->name, ai);
}
-
+
+ g_free (ai->exec);
ai->exec = g_strdup (exec);
if (count)