summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-11 10:11:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-11 10:12:21 +0100
commitbf237ceccc604c17994faa1e4eb64b7bd7298fb9 (patch)
tree582119755901eeb0d8a7877fcd90f4ba8f27e6da /framework
parent044deb37ae308c10a5bc0e976de40e257caa9a4e (diff)
valgrind: silence worrying invalid pthread lock/unlock warnings on exit
Invalid read of size 4 at 0x57F48E0: __pthread_mutex_unlock_full (in /usr/lib64/libpthread-2.21.so) by 0x4E903F7: osl_releaseMutex (mutex.cxx:136) by 0xB3EECF0: osl::Mutex::release() (mutex.hxx:74) by 0xB3EF92C: osl::Guard<osl::Mutex>::~Guard() (mutex.hxx:135) by 0xB3F755A: SvtCommandOptions::~SvtCommandOptions() (cmdoptions.cxx:318) by 0xB3F75B3: SvtCommandOptions::~SvtCommandOptions() (cmdoptions.cxx:328) by 0x2B13BDE9: std::default_delete<SvtCommandOptions>::operator()(SvtCommandOptions*) const (unique_ptr.h:76) by 0x2B13A3C6: std::unique_ptr<SvtCommandOptions, std::default_delete<SvtCommandOptions> >::~unique_ptr() (unique_ptr.h:236) by 0x2B134063: framework::Desktop::~Desktop() (desktop.cxx:183) by 0x2B13418B: framework::Desktop::~Desktop() (desktop.cxx:187) by 0x79892AD: cppu::OWeakObject::release() (weak.cxx:205) by 0x2B1399B7: framework::Desktop::release() (desktop.hxx:133) by 0x2B13B860: rtl::Reference<framework::Desktop>::~Reference() (ref.hxx:81) by 0x2B13956B: (anonymous namespace)::Instance::~Instance() (desktop.cxx:1780) by 0x54635D7: __run_exit_handlers (in /usr/lib64/libc-2.21.so) by 0x5463624: exit (in /usr/lib64/libc-2.21.so) Change-Id: I98e0e70567ab39a06813fd9b614ba1e04ec22bd1
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/desktop.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 82f24c77a9f3..79d2517e5515 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1073,6 +1073,7 @@ void SAL_CALL Desktop::disposing()
m_xQuickLauncher.clear();
m_xSWThreadManager.clear();
m_xSfxTerminator.clear();
+ m_xCommandOptions.reset();
// From this point nothing will work further on this object ...
// excepting our dtor() .-)