From 8110035d7199a324a8b29da1786ee4037cc0b736 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 6 Dec 2020 18:45:37 +0100 Subject: [PATCH] Remove unref --- src/device/giolister.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/device/giolister.cpp b/src/device/giolister.cpp index 15cdd12c0..21561e239 100644 --- a/src/device/giolister.cpp +++ b/src/device/giolister.cpp @@ -613,7 +613,6 @@ void GioLister::UnmountDevice(const QString &id) { if (info.volume_ptr) { if (g_volume_can_eject(info.volume_ptr)) { g_volume_eject_with_operation(info.volume_ptr, G_MOUNT_UNMOUNT_NONE, nullptr, nullptr, reinterpret_cast(VolumeEjectFinished), nullptr); - g_object_unref(info.volume_ptr); return; } }