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:
Matthias Clasen 2012-08-16 22:15:54 -04:00
parent bf3262dd93
commit 6ef1e56479

View File

@ -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);
} }
} }