tracker r1690 - in branches/indexer-split: . src/trackerd
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1690 - in branches/indexer-split: . src/trackerd
- Date: Mon, 16 Jun 2008 17:45:18 +0000 (UTC)
Author: mr
Date: Mon Jun 16 17:45:18 2008
New Revision: 1690
URL: http://svn.gnome.org/viewvc/tracker?rev=1690&view=rev
Log:
* src/trackerd/tracker-crawler.c: (crawler_finalize): Make sure we
clean up the async queue if we finalise the crawler and that means
cleaning up the data on the queue too.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/trackerd/tracker-crawler.c
Modified: branches/indexer-split/src/trackerd/tracker-crawler.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-crawler.c (original)
+++ branches/indexer-split/src/trackerd/tracker-crawler.c Mon Jun 16 17:45:18 2008
@@ -210,6 +210,7 @@
crawler_finalize (GObject *object)
{
TrackerCrawlerPriv *priv;
+ gchar *str;
gint i;
priv = GET_PRIV (object);
@@ -239,6 +240,12 @@
priv->files_queue_handle_id = 0;
}
+ for (str = g_async_queue_pop (priv->files);
+ str;
+ str = g_async_queue_pop (priv->files)) {
+ g_free (str);
+ }
+
g_async_queue_unref (priv->files);
if (priv->timer) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]