1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-15 10:08:08 +01:00

Remove unref

This commit is contained in:
Jonas Kvinge 2020-12-06 18:45:37 +01:00
parent 9af409d6d6
commit 8110035d71

View File

@ -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<GAsyncReadyCallback>(VolumeEjectFinished), nullptr);
g_object_unref(info.volume_ptr);
return;
}
}