diff options
author | root <root@rshg054.dnsready.net> | 2012-11-09 01:24:21 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-09 01:24:21 -0800 |
commit | c865fc041a0945e396f139a86315f6a25b1d4dec (patch) | |
tree | 95e232fb3fc00a803572f8e58af5b08d55ca070f /extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch | |
parent | e5f99abe2484d8fdfd1b2d57ba2233e027e9b64c (diff) |
Fri Nov 9 01:24:21 PST 2012
Diffstat (limited to 'extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch')
-rw-r--r-- | extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch b/extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch new file mode 100644 index 000000000..2d3bcb6c4 --- /dev/null +++ b/extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch @@ -0,0 +1,24 @@ +From 4a0915c25815647c165e7ca6047f3da84ece04ea Mon Sep 17 00:00:00 2001 +From: Debarshi Ray <debarshir@gnome.org> +Date: Mon, 22 Oct 2012 13:07:04 +0000 +Subject: gdaemonmount: Check for a NULL GMountOperation when unmounting + +https://bugzilla.gnome.org/show_bug.cgi?id=686637 +--- +diff --git a/client/gdaemonmount.c b/client/gdaemonmount.c +index 53f22b5..ca77648 100644 +--- a/client/gdaemonmount.c ++++ b/client/gdaemonmount.c +@@ -330,8 +330,9 @@ g_daemon_mount_unmount_with_operation (GMount *mount, + data = g_new0 (AsyncProxyCreate, 1); + data->mount = g_object_ref (mount); + data->mount_info = daemon_mount->mount_info; +- data->mount_operation = g_object_ref (mount_operation); + data->flags = flags; ++ if (mount_operation) ++ data->mount_operation = g_object_ref (mount_operation); + if (cancellable) + data->cancellable = g_object_ref (cancellable); + +-- +cgit v0.9.0.2 |