summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-30 16:16:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-30 16:16:02 +0200
commit773881d49e44ba3aa7bc3f4492ea4fa2fe1031d8 (patch)
treecc58b821675f0571553fcacf4247660410d5656f /connectivity
parent5409e6a126b0bc9e6ba3bb348e431bdfc32219f4 (diff)
Fix memory leak
Change-Id: I30ab0dcf47d236c8ebda3a2d1da0aaa4f0cd7477
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MConnection.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/source/drivers/mork/MConnection.cxx b/connectivity/source/drivers/mork/MConnection.cxx
index 776249cbc446..e84d55f9a23d 100644
--- a/connectivity/source/drivers/mork/MConnection.cxx
+++ b/connectivity/source/drivers/mork/MConnection.cxx
@@ -354,6 +354,7 @@ void OConnection::disposing()
// we noticed that we should be destroied in near future so we have to dispose our statements
::osl::MutexGuard aGuard(m_aMutex);
dispose_ChildImpl();
+ m_xCatalog.clear();
}