From dc1614d6180dbb97486870a379ae73e2c70525a1 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Wed, 9 Mar 2016 19:24:44 -0500 Subject: [PATCH] ... --- appli/PipelineEditor/PipelineEditor.cxx | 3 +-- data/save_dicomseries_as_singlefile_image.wxml | 2 +- lib/cpExtensions/QT/SimpleMPRWidget.cxx | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/appli/PipelineEditor/PipelineEditor.cxx b/appli/PipelineEditor/PipelineEditor.cxx index fcd3f42..5fe9bdf 100644 --- a/appli/PipelineEditor/PipelineEditor.cxx +++ b/appli/PipelineEditor/PipelineEditor.cxx @@ -113,8 +113,7 @@ PipelineEditor:: { if( this->m_Workspace != NULL ) delete this->m_Workspace; - // TODO: this causes a segfault (?) - // delete this->m_UI; + delete this->m_UI; } // ------------------------------------------------------------------------- diff --git a/data/save_dicomseries_as_singlefile_image.wxml b/data/save_dicomseries_as_singlefile_image.wxml index fb3b30d..b95d70c 100644 --- a/data/save_dicomseries_as_singlefile_image.wxml +++ b/data/save_dicomseries_as_singlefile_image.wxml @@ -3,7 +3,7 @@ - + diff --git a/lib/cpExtensions/QT/SimpleMPRWidget.cxx b/lib/cpExtensions/QT/SimpleMPRWidget.cxx index fa0214c..62b9296 100644 --- a/lib/cpExtensions/QT/SimpleMPRWidget.cxx +++ b/lib/cpExtensions/QT/SimpleMPRWidget.cxx @@ -58,8 +58,7 @@ SimpleMPRWidget( QWidget* parent ) cpExtensions::QT::SimpleMPRWidget:: ~SimpleMPRWidget( ) { - // TODO: this causes a segfault (?) - // delete this->m_UI; + delete this->m_UI; } // ------------------------------------------------------------------------- -- 2.47.1