[tracker] libtracker-data: Fix memory leak in journal rotation



commit be88dd2fa1b665aeea52f0bb361ce652c349427d
Author: Jürg Billeter <j bitron ch>
Date:   Fri Sep 17 12:52:07 2010 +0200

    libtracker-data: Fix memory leak in journal rotation

 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 3a0db95..8a26ac4 100644
--- a/src/libtracker-data/tracker-db-journal.c
+++ b/src/libtracker-data/tracker-db-journal.c
@@ -1828,6 +1828,7 @@ tracker_db_journal_rotate (void)
 	g_output_stream_splice_async (cstream, istream, 0, 0, NULL, on_chunk_copied_delete, source);
 	g_object_unref (istream);
 	g_object_unref (ostream);
+	g_object_unref (converter);
 	g_object_unref (cstream);
 
 	g_object_unref (destination);



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