summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-30 21:19:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-30 21:19:38 +0000
commit28db7916b7296d40233b464c4603722f735f0d10 (patch)
tree0d87da6dad4dcc71d7dad7ca1060a03bac752473 /connectivity/source/drivers/evoab2
parentfae0953f7d162e092bf3ad6d6ff4cef4c05cc0e7 (diff)
coverity#1267628 Resource leak in object
Change-Id: I90e36c7af58638e57296dc4776fbd86beff3d101
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index acc92f015164..83f64b5edef7 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -644,12 +644,11 @@ OEvoabResultSet::OEvoabResultSet( OCommonStatement* pStmt, OEvoabConnection *pCo
REGISTER_PROP( PROPERTY_ID_RESULTSETCONCURRENCY, m_nResultSetConcurrency );
}
-
OEvoabResultSet::~OEvoabResultSet()
{
+ delete m_pVersionHelper;
}
-
void OEvoabResultSet::construct( const QueryData& _rData )
{
ENSURE_OR_THROW( _rData.getQuery(), "internal error: no EBookQuery" );