diff options
Diffstat (limited to 'tdeioslave/media/mediamanager/halbackend.cpp')
-rw-r--r-- | tdeioslave/media/mediamanager/halbackend.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdeioslave/media/mediamanager/halbackend.cpp b/tdeioslave/media/mediamanager/halbackend.cpp index 65807b102..a31b632c8 100644 --- a/tdeioslave/media/mediamanager/halbackend.cpp +++ b/tdeioslave/media/mediamanager/halbackend.cpp @@ -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()); |