diff options
author | Hans Petter Jansson <hpj@novell.com> | 2008-07-19 18:55:04 +0000 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2008-07-19 18:55:04 +0000 |
commit | 2709713e68c872797792e2c9f9472e684131df12 (patch) | |
tree | 2cca268c5fae6d68d9dd804660c7e62405ac96f7 | |
parent | 0d9a31f17dbc1df7a7341442da38a8b101c20459 (diff) | |
download | gvfs-2709713e68c872797792e2c9f9472e684131df12.tar.gz |
Don't leak D-Bus messages.
2008-07-19 Hans Petter Jansson <hpj@novell.com>
* client/gdaemonfile.c (g_daemon_file_set_attribute): Don't leak
D-Bus messages.
svn path=/trunk/; revision=1823
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | client/gdaemonfile.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-07-19 Hans Petter Jansson <hpj@novell.com> + + * client/gdaemonfile.c (g_daemon_file_set_attribute): Don't leak + D-Bus messages. + 2008-07-18 Hans Petter Jansson <hpj@novell.com> * client/gvfsfusedaemon.c (vfs_open) diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c index e9014919..b5477db4 100644 --- a/client/gdaemonfile.c +++ b/client/gdaemonfile.c @@ -1892,6 +1892,8 @@ g_daemon_file_set_attribute (GFile *file, NULL, NULL, NULL, cancellable, &my_error); + dbus_message_unref (message); + if (reply == NULL) { if (g_error_matches (my_error, G_VFS_ERROR, G_VFS_ERROR_RETRY)) |