[glib] Fix leak in GFileAttributeInfoList
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix leak in GFileAttributeInfoList
- Date: Fri, 17 Aug 2012 02:18:33 +0000 (UTC)
commit 6ef1e56479db644cff6717a838a8e63a54ce54da
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 16 22:15:54 2012 -0400
Fix leak in GFileAttributeInfoList
Patch by Ole Andrà Vadla RavnÃs, bug
https://bugzilla.gnome.org/show_bug.cgi?id=627423
gio/gfileattribute.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gfileattribute.c b/gio/gfileattribute.c
index 2b298e2..8473558 100644
--- a/gio/gfileattribute.c
+++ b/gio/gfileattribute.c
@@ -963,6 +963,7 @@ g_file_attribute_info_list_unref (GFileAttributeInfoList *list)
for (i = 0; i < list->n_infos; i++)
g_free (list->infos[i].name);
g_array_free (priv->array, TRUE);
+ g_free (list);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]