[tracker/cursor] Bugfix
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/cursor] Bugfix
- Date: Wed, 26 Aug 2009 14:18:08 +0000 (UTC)
commit 99054de4e4ce2e285680c6d0951bc854d373c431
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Aug 26 16:17:30 2009 +0200
Bugfix
src/libtracker-db/tracker-db-interface-sqlite.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index 97e44d4..43601cf 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -921,7 +921,9 @@ tracker_db_cursor_sqlite_finalize (GObject *object)
priv = TRACKER_DB_CURSOR_SQLITE_GET_PRIVATE (object);
- sqlite3_finalize (priv->stmt);
+ if (priv->owns_stmt) {
+ sqlite3_finalize (priv->stmt);
+ }
G_OBJECT_CLASS (tracker_db_cursor_sqlite_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]