mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-15 18:30:39 +01:00
Remove unref
This commit is contained in:
parent
9af409d6d6
commit
8110035d71
@ -613,7 +613,6 @@ void GioLister::UnmountDevice(const QString &id) {
|
|||||||
if (info.volume_ptr) {
|
if (info.volume_ptr) {
|
||||||
if (g_volume_can_eject(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_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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user