From 450479820265292adc825be84447cdb1379182c7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 May 2011 22:23:54 +0100 Subject: config leak: ensure release --- framework/source/services/frame.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'framework/source/services/frame.cxx') 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. -- cgit