[tracker/miner-fs-refactor: 18/74] libtracker-miner: Fix infinite loop
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor: 18/74] libtracker-miner: Fix infinite loop
- Date: Tue, 4 Oct 2011 10:51:58 +0000 (UTC)
commit 99740649eb55f54e5e65991181eb7a4303444c0a
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]