From 7460f26f9243e6b1745a448b8dc05b15d12aa86e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 15 Apr 2011 13:05:30 +0200 Subject: Don't leak dbus messages We're missing a lot of dbus_message_unref after sending messages, add them. --- daemon/gvfsjobopenforread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'daemon/gvfsjobopenforread.c') diff --git a/daemon/gvfsjobopenforread.c b/daemon/gvfsjobopenforread.c index 31265db7..d217c273 100644 --- a/daemon/gvfsjobopenforread.c +++ b/daemon/gvfsjobopenforread.c @@ -106,6 +106,7 @@ g_vfs_job_open_for_read_new (DBusConnection *connection, dbus_error_free (&derror); dbus_connection_send (connection, reply, NULL); + dbus_message_unref (reply); return NULL; } -- cgit v1.2.1