mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-23 15:49:16 +02:00
Fix leak in GFileAttributeInfoList
Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423
This commit is contained in:
parent
bf3262dd93
commit
6ef1e56479
@ -963,6 +963,7 @@ g_file_attribute_info_list_unref (GFileAttributeInfoList *list)
|
|||||||
for (i = 0; i < list->n_infos; i++)
|
for (i = 0; i < list->n_infos; i++)
|
||||||
g_free (list->infos[i].name);
|
g_free (list->infos[i].name);
|
||||||
g_array_free (priv->array, TRUE);
|
g_array_free (priv->array, TRUE);
|
||||||
|
g_free (list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user