[tracker/tracker-0.14] miner-manager: plug some memleaks
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.14] miner-manager: plug some memleaks
- Date: Wed, 6 Feb 2013 14:50:50 +0000 (UTC)
commit b7285f8503fb3260a44347ed869b3e7d2ef52526
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]