GNOME Bugzilla – Bug 686637
Check for NULL GMountOperation while unmounting
Last modified: 2012-10-24 08:55:28 UTC
g_mount_unmount_with_operation is supposed to accept NULL as its mount_operation parameter. However, g_daemon_mount_unmount_with_operation does not check for NULL before trying to get a reference on the mount_operation.
Created attachment 226990 [details] [review] gdaemonmount: Check for a NULL GMountOperation when unmounting
Fortunately g_mount_operation_dbus_wrap handles a NULL mount_operation elegantly, so things don't crash later on.
Review of attachment 226990 [details] [review]: ack, please commit on master and gnome-3-6.
Pushed to both master and gnome-3-6.