summaryrefslogtreecommitdiff
path: root/client/gdaemonfilemonitor.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-03-10 16:20:45 +0000
committerAlexander Larsson <alexl@src.gnome.org>2009-03-10 16:20:45 +0000
commitd752481a788acd65c1392712683099e2fdf9b12e (patch)
treea878d0d396f97b0cc007aaa69a04b2ff2e684a94 /client/gdaemonfilemonitor.c
parentaa23c1920f5ecd3a759de1612d3b4de017c3b372 (diff)
downloadgvfs-d752481a788acd65c1392712683099e2fdf9b12e.tar.gz
Bug 563418 – gvfs backend leaks monitors
2009-03-10 Alexander Larsson <alexl@redhat.com> 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
Diffstat (limited to 'client/gdaemonfilemonitor.c')
-rw-r--r--client/gdaemonfilemonitor.c3
1 files changed, 3 insertions, 0 deletions
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);