summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/firebird/FPreparedStatement.cxx
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-05-27 15:00:29 +0000
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-10 14:08:44 +0100
commit79cf983d367cbae05d4ce536db4e36f4c056a243 (patch)
tree132500bd4bfb54628064cd8ffaf1967612b14eae /connectivity/source/drivers/firebird/FPreparedStatement.cxx
parent90ff5a75b7e3f5c573912a1a67a84445bbdfe334 (diff)
Adding disposing bits.
Change-Id: I997c23d0c0765a6929be89087330ac6616ccd28c
Diffstat (limited to 'connectivity/source/drivers/firebird/FPreparedStatement.cxx')
-rw-r--r--connectivity/source/drivers/firebird/FPreparedStatement.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/FPreparedStatement.cxx b/connectivity/source/drivers/firebird/FPreparedStatement.cxx
index e7e1131c1eee..d7aeee58ce28 100644
--- a/connectivity/source/drivers/firebird/FPreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/FPreparedStatement.cxx
@@ -108,6 +108,7 @@ OPreparedStatement::OPreparedStatement( OConnection* _pConnection,const TTypeInf
if (isc_dsql_prepare(status, &m_TRANSHandler, &m_STMTHandler, 0, sqlStr, 1, NULL))
if (pr_error(status, "prepare statement"))
return;
+ free(sqlStr);
// fill the output XSQLDA with information about the select-list items.
if (isc_dsql_describe(status, &m_STMTHandler, 1, out_sqlda))