summaryrefslogtreecommitdiff
path: root/client/gdaemonfile.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@novell.com>2008-07-19 18:55:04 +0000
committerHans Petter <hansp@src.gnome.org>2008-07-19 18:55:04 +0000
commit2709713e68c872797792e2c9f9472e684131df12 (patch)
tree2cca268c5fae6d68d9dd804660c7e62405ac96f7 /client/gdaemonfile.c
parent0d9a31f17dbc1df7a7341442da38a8b101c20459 (diff)
downloadgvfs-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
Diffstat (limited to 'client/gdaemonfile.c')
-rw-r--r--client/gdaemonfile.c2
1 files changed, 2 insertions, 0 deletions
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))