summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-08-25 04:03:32 -0300
committerJasper St. Pierre <jstpierre@mecheye.net>2012-08-25 15:39:46 -0300
commit9a0ebc688c54f9d0d06666edd7e01229e144e59e (patch)
treebc975b1e5745b11e0bf516956a59eae3ede1ef0b /common
parent7aba6b203db0892276c88a68a45438f6f008f8b6 (diff)
downloadgvfs-9a0ebc688c54f9d0d06666edd7e01229e144e59e.tar.gz
gmountspec: Make sure to free the GVariantIter
https://bugzilla.gnome.org/show_bug.cgi?id=682646
Diffstat (limited to 'common')
-rw-r--r--common/gmountspec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gmountspec.c b/common/gmountspec.c
index 35dd6915..1e34d791 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);