[libgda] SQLite Provider: fixed memory leak at statement execution
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] SQLite Provider: fixed memory leak at statement execution
- Date: Mon, 22 Apr 2019 21:15:36 +0000 (UTC)
commit 68b923736682d0b118e337eccae0989ba21d0d54
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Apr 22 14:09:31 2019 -0500
SQLite Provider: fixed memory leak at statement execution
libgda/sqlite/gda-sqlite-provider.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index 208185591..7cafd5d1f 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -3351,6 +3351,7 @@ gda_sqlite_provider_statement_execute (GdaServerProvider *provider, GdaConnectio
/* create a SQLitePreparedStatement */
ps = _gda_sqlite_pstmt_new (GDA_SQLITE_PROVIDER (provider), sqlite_stmt);
gda_pstmt_set_sql (_GDA_PSTMT (ps), sql);
+ g_free (sql);
new_ps = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]