[tracker/domain-specific-indexes-review: 13/21] libtracker-data: Fixed a bug in support for domain specific indexes



commit 49118f089272cfc30d1c0ac8c84d730b632f41a4
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jul 6 13:34:36 2010 +0200

    libtracker-data: Fixed a bug in support for domain specific indexes

 src/libtracker-data/tracker-data-manager.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 3086341..28d411b 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -830,6 +830,10 @@ check_for_deleted_domain_index (TrackerClass *class)
 
 	last_domain_indexes = tracker_class_get_last_domain_indexes (class);
 
+	if (!last_domain_indexes) {
+		return;
+	}
+
 	while (*last_domain_indexes) {
 		TrackerProperty *last_domain_index = *last_domain_indexes;
 		gboolean found = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]