[tracker/libtracker-miner] Fixed unrefing GFiles in the queue but not clearing the queue
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-miner] Fixed unrefing GFiles in the queue but not clearing the queue
- Date: Wed, 26 Aug 2009 13:56:21 +0000 (UTC)
commit 27ffdf5c0b15d2df277bed80ae9892debf45961f
Author: Martyn Russell <martyn lanedo com>
Date: Wed Aug 26 14:43:22 2009 +0100
Fixed unrefing GFiles in the queue but not clearing the queue
src/libtracker-miner/tracker-crawler.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index 89716ee..82fefd8 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -691,6 +691,7 @@ tracker_crawler_stop (TrackerCrawler *crawler)
/* Clean up queue */
g_queue_foreach (priv->found, (GFunc) g_object_unref, NULL);
+ g_queue_clear (priv->found);
/* We don't free the queue in case the crawler is reused, it
* is only freed in finalize.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]