summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/flat/ECatalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/flat/ECatalog.cxx')
-rw-r--r--connectivity/source/drivers/flat/ECatalog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/flat/ECatalog.cxx b/connectivity/source/drivers/flat/ECatalog.cxx
index 2317722501b5..b656b29c21b8 100644
--- a/connectivity/source/drivers/flat/ECatalog.cxx
+++ b/connectivity/source/drivers/flat/ECatalog.cxx
@@ -53,7 +53,7 @@ void OFlatCatalog::refreshTables()
if(m_pTables)
m_pTables->reFill(aVector);
else
- m_pTables = new OFlatTables(m_xMetaData,*this,m_aMutex,aVector);
+ m_pTables.reset( new OFlatTables(m_xMetaData,*this,m_aMutex,aVector) );
}