[tracker/miner-fs-refactor: 18/127] libtracker-miner: Fix infinite loop
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor: 18/127] libtracker-miner: Fix infinite loop
- Date: Wed, 7 Dec 2011 10:38:27 +0000 (UTC)
commit ea9deecdfb825e568c12123bc4a002eed242fe74
Author: Carlos Garnacho <carlos lanedo com>
Date: Thu Sep 8 16:17:41 2011 +0200
libtracker-miner: Fix infinite loop
src/libtracker-miner/tracker-indexing-tree.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-indexing-tree.c b/src/libtracker-miner/tracker-indexing-tree.c
index 2208eb3..25a89f0 100644
--- a/src/libtracker-miner/tracker-indexing-tree.c
+++ b/src/libtracker-miner/tracker-indexing-tree.c
@@ -479,6 +479,8 @@ tracker_indexing_tree_file_matches_filter (TrackerIndexingTree *tree,
while (filters) {
PatternData *data = filters->data;
+ filters = filters->next;
+
if (data->type == type &&
g_pattern_match_string (data->pattern, basename)) {
g_free (basename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]