[tracker/rss-enclosures] libtracker-data: Fix memory leak on journal replay
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] libtracker-data: Fix memory leak on journal replay
- Date: Mon, 3 May 2010 00:36:55 +0000 (UTC)
commit 6e52c3ae5dc8e439bc932541ca74fdda04e0ec97
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]