[tracker/tracker-0.6] Fixes: NB#131278, Random tracker-indexer-71C9-11-2408.rcore crash observed.
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.6] Fixes: NB#131278, Random tracker-indexer-71C9-11-2408.rcore crash observed.
- Date: Fri, 11 Sep 2009 11:29:25 +0000 (UTC)
commit df8bd11726a23bc54826ccbf01b21e918217ed78
Author: Martyn Russell <martyn lanedo com>
Date: Fri Sep 11 12:28:00 2009 +0100
Fixes: NB#131278, Random tracker-indexer-71C9-11-2408.rcore crash observed.
src/libtracker-common/tracker-hal.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-hal.c b/src/libtracker-common/tracker-hal.c
index 283257c..314185a 100644
--- a/src/libtracker-common/tracker-hal.c
+++ b/src/libtracker-common/tracker-hal.c
@@ -1088,6 +1088,12 @@ hal_device_property_modified_cb (LibHalContext *context,
const gchar *device_file;
volume = libhal_volume_from_udi (context, udi);
+ if (!volume) {
+ g_message ("HAL device:'%s' with udi:'%s' has NO LibHalVolume??",
+ device_file, udi);
+ return;
+ }
+
mount_point = libhal_volume_get_mount_point (volume);
device_file = libhal_volume_get_device_file (volume);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]