mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-23 16:01:43 +01:00
giolister: Remove extra g_object_unref
GioLister::UnmountDevice calls g_object_unref on the GVolume object held by a DeviceInfo. This appears to be left over from a time before DeviceInfo held onto the volume.
This commit is contained in:
parent
abc70554f3
commit
1a0b288a8f
@ -520,7 +520,6 @@ void GioLister::UnmountDevice(const QString& id) {
|
||||
g_volume_eject_with_operation(
|
||||
info.volume_, G_MOUNT_UNMOUNT_NONE, nullptr, nullptr,
|
||||
(GAsyncReadyCallback)VolumeEjectFinished, nullptr);
|
||||
g_object_unref(info.volume_);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user