[tracker] libtracker-data: Plugged a leak in journal



commit b171b7dd2ac6ea4fbb6efa9610478d6ea0e1dee8
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..29059d6 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]