summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobqueryattributes.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2011-04-15 13:05:30 +0200
committerAlexander Larsson <alexl@redhat.com>2011-04-15 13:05:30 +0200
commit7460f26f9243e6b1745a448b8dc05b15d12aa86e (patch)
treed2685ee3d982117e780297d8cd5947c3eb345f78 /daemon/gvfsjobqueryattributes.c
parent0babec2c24287a8578be488dacb0428998aa5648 (diff)
downloadgvfs-7460f26f9243e6b1745a448b8dc05b15d12aa86e.tar.gz
Don't leak dbus messages
We're missing a lot of dbus_message_unref after sending messages, add them.
Diffstat (limited to 'daemon/gvfsjobqueryattributes.c')
-rw-r--r--daemon/gvfsjobqueryattributes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsjobqueryattributes.c b/daemon/gvfsjobqueryattributes.c
index 426a26b3..3307cfab 100644
--- a/daemon/gvfsjobqueryattributes.c
+++ b/daemon/gvfsjobqueryattributes.c
@@ -100,6 +100,7 @@ g_vfs_job_query_attributes_new (DBusConnection *connection,
dbus_error_free (&derror);
dbus_connection_send (connection, reply, NULL);
+ dbus_message_unref (reply);
return NULL;
}