diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-09-25 12:30:11 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-09-25 12:30:11 +0000 |
commit | d9bffeb205e5f899a9138a4f254b5c0edc785b6f (patch) | |
tree | 2af9bc9b064b8b9ad2d18b577737dede211e3127 | |
parent | 923b6f2d78e357029acef582b308c6ca406f2b66 (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-- | 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-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) |