diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-28 16:50:21 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-06-28 16:56:23 +0200 |
commit | ae6551b43d6cde10edb449cca6d2caa8fa428b20 (patch) | |
tree | a9dafc6e2499af00f1933d139abdf8f98ee0a99e | |
parent | 814818c3451fa32900c011278e2e5b62e3518eb0 (diff) |
firebird driver, abandon ref to about to be disposed embedded storage.
Change-Id: I6bfce155151b79cd0a1707744e79298b45d8752b
-rw-r--r-- | connectivity/source/drivers/firebird/Connection.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index 69b2377b1af4..1ad4f445cca4 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -679,6 +679,9 @@ void SAL_CALL Connection::documentEventOccured( const DocumentEvent& _Event ) void SAL_CALL Connection::disposing(const EventObject& /*rSource*/) throw (RuntimeException, std::exception) { + MutexGuard aGuard( m_aMutex ); + + m_xEmbeddedStorage.clear(); } void Connection::buildTypeInfo() throw( SQLException) |