[tracker] miner-manager: plug some memleaks



commit e630de10d4f8c51bd0fc8a261073d96d67050eac
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 21 11:39:35 2013 -0500

    miner-manager: plug some memleaks
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692210

 src/libtracker-miner/tracker-miner-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index d360b7e..e22cb28 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -739,6 +739,7 @@ crawler_check_file_cb (TrackerCrawler *crawler,
 
 	priv->miners = g_list_prepend (priv->miners, data);
 
+	g_key_file_free (key_file);
 	g_free (path);
 
 	return TRUE;
@@ -784,6 +785,7 @@ initialize_miners_data (TrackerMinerManager *manager)
 
 	g_main_loop_run (main_loop);
 
+	g_main_loop_unref (main_loop);
 	g_object_unref (crawler);
 }
 



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