changeset 24017:b0e696ea6487

avoid segfault on exit (bug #51954) * variable-editor.cc (variable_editor::~variable_editor): Don't delete anything.
author John W. Eaton <jwe@octave.org>
date Wed, 06 Sep 2017 16:39:41 -0400
parents e327adeae7a0
children df53ba41ea90
files libgui/src/variable-editor.cc
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/variable-editor.cc	Wed Sep 06 15:00:52 2017 -0400
+++ b/libgui/src/variable-editor.cc	Wed Sep 06 16:39:41 2017 -0400
@@ -129,9 +129,11 @@
 
 variable_editor::~variable_editor (void)
 {
-  delete m_main;
-  delete m_tool_bar;
-  delete m_tab_widget;
+  // FIXME: This doesn't work yet.
+  //
+  //  delete m_main;
+  //  delete m_tool_bar;
+  //  delete m_tab_widget;
 }
 
 void