[tracker/direct-access: 36/39] libtracker-data: Plugged a leak in journal



commit 63c332545b70d89efda9b66e8d79e00aade238ab
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Jul 22 13:16:01 2010 +0100

    libtracker-data: Plugged a leak in journal

 src/libtracker-data/tracker-db-journal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-journal.c b/src/libtracker-data/tracker-db-journal.c
index 7b5d4b6..63e51b7 100644
--- a/src/libtracker-data/tracker-db-journal.c
+++ b/src/libtracker-data/tracker-db-journal.c
@@ -1002,6 +1002,7 @@ reader_get_next_filepath (JournalReader *jreader)
 			/* keep compressed journal files in same directory */
 			source = g_file_new_for_path (test);
 			dest_dir = g_file_get_parent (source);
+                        g_object_unref (source);
 		}
 
 		filename = g_path_get_basename (test);



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