mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
gbookmarkfile: Fix some more minor leaks when metadata elements are repeated
oss-fuzz#9723 Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user