From d752481a788acd65c1392712683099e2fdf9b12e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 10 Mar 2009 16:20:45 +0000 Subject: =?UTF-8?q?Bug=20563418=20=E2=80=93=20gvfs=20backend=20leaks=20mon?= =?UTF-8?q?itors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2009-03-10 Alexander Larsson Bug 563418 – gvfs backend leaks monitors * client/gdaemonfilemonitor.c: (g_daemon_file_monitor_cancel): Actually pass in object_path in unsubscribe message svn path=/trunk/; revision=2317 --- client/gdaemonfilemonitor.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client') diff --git a/client/gdaemonfilemonitor.c b/client/gdaemonfilemonitor.c index 61b35e54..851907a9 100644 --- a/client/gdaemonfilemonitor.c +++ b/client/gdaemonfilemonitor.c @@ -202,6 +202,9 @@ g_daemon_file_monitor_cancel (GFileMonitor* monitor) G_VFS_DBUS_MONITOR_INTERFACE, G_VFS_DBUS_MONITOR_OP_UNSUBSCRIBE); + _g_dbus_message_append_args (message, DBUS_TYPE_OBJECT_PATH, + &daemon_monitor->object_path, 0); + _g_vfs_daemon_call_async (message, NULL, NULL, NULL); -- cgit v1.2.1