summaryrefslogtreecommitdiff
path: root/client/gdaemonvfs.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-12-01 11:04:36 +0100
committerAlexander Larsson <alexl@redhat.com>2009-12-01 11:22:37 +0100
commitb2984619f1fa9ed1f73bafb3d749f322e17bb605 (patch)
treebfe9fa5f3531d6887cbf17691ae85a77a22add42 /client/gdaemonvfs.c
parent40194c85971fb78244e184e4da15383977e231eb (diff)
downloadgvfs-b2984619f1fa9ed1f73bafb3d749f322e17bb605.tar.gz
Correctly dup strings in meta_tree_lookup_stringv
Also, make sure to free that in all callers.
Diffstat (limited to 'client/gdaemonvfs.c')
-rw-r--r--client/gdaemonvfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c
index 5a7311db..f0be1722 100644
--- a/client/gdaemonvfs.c
+++ b/client/gdaemonvfs.c
@@ -1267,6 +1267,7 @@ _g_daemon_vfs_append_metadata_for_set (DBusMessage *message,
DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &val, g_strv_length (val),
0);
}
+ g_strfreev (current);
}
else if (type == G_FILE_ATTRIBUTE_TYPE_INVALID)
{