Fix ref count bug
authorDavid Zeuthen <davidz@redhat.com>
Wed, 9 Nov 2011 16:01:17 +0000 (11:01 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 9 Nov 2011 16:01:17 +0000 (11:01 -0500)
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskslinuxdrive.c

index 2388e4f..39645b4 100644 (file)
@@ -307,7 +307,6 @@ set_connection_bus (UDisksDrive      *iface,
   if (g_str_has_prefix (g_udev_device_get_name (device), "mmcblk"))
     {
       udisks_drive_set_connection_bus (iface, "sdio");
-      g_object_unref (parent);
       goto out;
     }