diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-02-28 19:59:01 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 22:26:42 +0100 |
commit | e8284454f517d29a29f95a347a38730ded047f41 (patch) | |
tree | 08391f6f0f659d45deda5652bc6e2f12e7b0fc97 /chart2/source/controller/main | |
parent | cffa7dd2f2eab7f3430519e91f0ccb00fdc3b5f5 (diff) |
Double dispose protection.
Change-Id: Iadc0a4fcb711e4f846e0e047880e512c9d42d0f8
Diffstat (limited to 'chart2/source/controller/main')
-rw-r--r-- | chart2/source/controller/main/ChartWindow.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx index cec82ca81592..4a37ec38e583 100644 --- a/chart2/source/controller/main/ChartWindow.cxx +++ b/chart2/source/controller/main/ChartWindow.cxx @@ -84,6 +84,7 @@ void ChartWindow::dispose() x3DWindowProvider->update(); } delete m_pOpenGLWindow; + m_pOpenGLWindow = NULL; vcl::Window::dispose(); } |