[libgda/LIBGDA_4.0] Memory leak correction in SQLite provider
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.0] Memory leak correction in SQLite provider
- Date: Wed, 10 Mar 2010 21:43:56 +0000 (UTC)
commit 76b074f94283e4f337242bd74b43abb187732b97
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Mar 10 22:41:40 2010 +0100
Memory leak correction in SQLite provider
libgda/sqlite/gda-sqlite-provider.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index de2f5a0..c760a32 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -1842,6 +1842,7 @@ real_prepare (GdaServerProvider *provider, GdaConnection *cnc, GdaStatement *stm
_GDA_PSTMT (ps)->sql = sql;
ps->rowid_hash = hash;
ps->nb_rowid_columns = nb_rows_added;
+ g_object_unref (real_stmt);
return ps;
out_err:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]