summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-09-25 12:30:11 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-09-25 12:30:11 +0000
commitd9bffeb205e5f899a9138a4f254b5c0edc785b6f (patch)
tree2af9bc9b064b8b9ad2d18b577737dede211e3127
parent923b6f2d78e357029acef582b308c6ca406f2b66 (diff)
Free returned strv with g_strfreev, not dbus_free_string_array. (#529596)
2008-09-25 Alexander Larsson <alexl@redhat.com> * common/gvfsdaemonprotocol.c: (_g_dbus_get_file_attribute): Free returned strv with g_strfreev, not dbus_free_string_array. (#529596) svn path=/trunk/; revision=2030
-rw-r--r--ChangeLog6
-rw-r--r--common/gvfsdaemonprotocol.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 35b4e310..8048d841 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-25 Alexander Larsson <alexl@redhat.com>
+
+ * common/gvfsdaemonprotocol.c:
+ (_g_dbus_get_file_attribute):
+ Free returned strv with g_strfreev, not dbus_free_string_array. (#529596)
+
2008-09-23 Alexander Larsson <alexl@redhat.com>
* configure.ac:
diff --git a/common/gvfsdaemonprotocol.c b/common/gvfsdaemonprotocol.c
index 36331ed8..0dc600a0 100644
--- a/common/gvfsdaemonprotocol.c
+++ b/common/gvfsdaemonprotocol.c
@@ -436,7 +436,7 @@ _g_dbus_get_file_attribute (DBusMessageIter *iter,
&strs, &n_elements, 0))
{
obj = G_OBJECT (g_themed_icon_new_from_names (strs, n_elements));
- dbus_free_string_array (strs);
+ g_strfreev (strs);
}
}
else if (obj_type == 2)