diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-09-25 12:29:32 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-09-25 12:29:32 +0000 |
commit | fe1d4f880917c9e49e3ad8404f7e35044682d549 (patch) | |
tree | 0176a9480fb683935d7fd5005d8fe0b7ee5be1d7 | |
parent | 810661bcfda1c75aaf9c004f21cdba8697ad0014 (diff) | |
download | gvfs-fe1d4f880917c9e49e3ad8404f7e35044682d549.tar.gz |
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=/branches/gnome-2-24/; revision=2029
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | common/gvfsdaemonprotocol.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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-24 Christian Kellner <gicmo@gnome.org> * 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) |