summaryrefslogtreecommitdiff
path: root/starmath/source/ElementsDockingWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/ElementsDockingWindow.cxx')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 1797c9a57a23..4ead68629757 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -244,6 +244,7 @@ SmElementsControl::~SmElementsControl()
void SmElementsControl::dispose()
{
mpDocShell->DoClose();
+ mpScroll.disposeAndClear();
Control::dispose();
}