[tracker/rss-enclosures] TrackerMinerFS: Plug a leak.



commit a9cd4ead3c6b1f7531391a65b551f7de839b81dd
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jun 23 14:42:04 2010 +0200

    TrackerMinerFS: Plug a leak.

 src/libtracker-miner/tracker-miner-fs.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 33bb52b..160a880 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -2455,9 +2455,12 @@ should_change_index_for_file (TrackerMinerFS *fs,
 
 	if (strcmp (time_str, lookup_time) == 0) {
 		/* File already up-to-date in the database */
+		g_free (time_str);
 		return FALSE;
 	}
 
+	g_free (time_str);
+
 	/* File either not yet in the database or mtime is different
 	 * Update in database required
 	 */



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