[tracker] TrackerMinerFS: Plug a leak.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] TrackerMinerFS: Plug a leak.
- Date: Wed, 23 Jun 2010 12:51:28 +0000 (UTC)
commit ba527369aeadba075e684fd1f147adbc5ed73cff
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 5a2ebaa..4dae60e 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -2463,9 +2463,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]