[gvfs] gmountspec: Make sure to free the GVariantIter
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] gmountspec: Make sure to free the GVariantIter
- Date: Sat, 25 Aug 2012 18:39:53 +0000 (UTC)
commit 9a0ebc688c54f9d0d06666edd7e01229e144e59e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Aug 25 04:03:32 2012 -0300
gmountspec: Make sure to free the GVariantIter
https://bugzilla.gnome.org/show_bug.cgi?id=682646
common/gmountspec.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/common/gmountspec.c b/common/gmountspec.c
index 35dd691..1e34d79 100644
--- a/common/gmountspec.c
+++ b/common/gmountspec.c
@@ -249,6 +249,8 @@ g_mount_spec_from_dbus (GVariant *value)
add_item (spec, key, g_variant_dup_bytestring (v, NULL));
}
+ g_variant_iter_free (iter_mount_spec_items);
+
/* Sort on key */
g_array_sort (spec->items, item_compare);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]