summaryrefslogtreecommitdiff
path: root/framework/source/services/frame.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-10 22:23:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:23:07 +0100
commit450479820265292adc825be84447cdb1379182c7 (patch)
tree81cba9b8fe1abe6b12e65dd168f1fa732770bc7c /framework/source/services/frame.cxx
parent4490dbc8ae6109ddb9d331dcd4bbbd4f91019bc8 (diff)
config leak: ensure release
Diffstat (limited to 'framework/source/services/frame.cxx')
-rw-r--r--framework/source/services/frame.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index e4d5655ca5f0..6c5a72fd4341 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -1859,6 +1859,9 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
// We will die, die and die ...
implts_stopWindowListening();
+ if (m_xLayoutManager.is())
+ lcl_disableLayoutManager(m_xLayoutManager, this);
+
delete m_pWindowCommandDispatch;
// Send message to all listener and forget her references.