Fix halbackend causes KDED stop on assertion failed

(cherry picked from commit 52aae1d1ef)
v3.5.13-sru
Francois Andriot 11 years ago committed by Slávek Banko
parent 63d5f68822
commit 43d29f8671

@ -1746,7 +1746,9 @@ TQString HALBackend::unmount(const TQString &_udi)
kdDebug() << "unmount queued for " << udi << endl;
dbus_message_unref (dmesg);
dbus_message_unref (reply);
if (reply) {
dbus_message_unref (reply);
}
medium->setHalMounted(false);
ResetProperties(medium->id().latin1());

Loading…
Cancel
Save