gvfs/daemon_mount_deadlock.patch
2008-03-06 09:30:04 +00:00

15 lines
425 B
Diff

--- trunk/client/gdaemonmount.c 2008/03/05 09:27:06 1549
+++ trunk/client/gdaemonmount.c 2008/03/06 09:00:09 1570
@@ -191,7 +191,10 @@
g_object_ref (daemon_mount);
if (daemon_mount->foreign_volume == volume)
- g_daemon_mount_set_foreign_volume (daemon_mount, NULL);
+ {
+ g_object_unref (daemon_mount->foreign_volume);
+ daemon_mount->foreign_volume = NULL;
+ }
G_UNLOCK (daemon_mount);