summaryrefslogtreecommitdiff
path: root/daemon/daemon-main.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/daemon-main.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/daemon-main.c')
-rw-r--r--daemon/daemon-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c
index 22cebe60..13e4780a 100644
--- a/daemon/daemon-main.c
+++ b/daemon/daemon-main.c
@@ -127,6 +127,7 @@ send_spawned (DBusConnection *connection, gboolean succeeded, char *error_messag
_g_dbus_oom ();
dbus_connection_send (connection, message, NULL);
+ dbus_message_unref (message);
/* Make sure the message is sent */
dbus_connection_flush (connection);
}