[tracker/async-queries-due: 3/6] libtracker-data: Fix memory leak on journal replay
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries-due: 3/6] libtracker-data: Fix memory leak on journal replay
- Date: Thu, 15 Apr 2010 14:59:18 +0000 (UTC)
commit d141cceff0bf58d5131fcc810e80502659d36fca
Author: Jürg Billeter <j bitron ch>
Date: Thu Apr 15 16:27:43 2010 +0200
libtracker-data: Fix memory leak on journal replay
src/libtracker-data/tracker-data-update.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 5f7f708..4ea037d 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2535,6 +2535,7 @@ tracker_data_replay_journal (GHashTable *classes,
tracker_db_statement_bind_int (stmt, 0, id);
tracker_db_statement_bind_text (stmt, 1, uri);
tracker_db_statement_execute (stmt, &new_error);
+ g_object_unref (stmt);
if (new_error) {
g_warning ("Journal replay error: '%s'", new_error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]