summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 62b9657..6c432c8 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -1041,7 +1041,6 @@ void cmCursesMainForm::HandleInput()
CurrentForm = this;
this->Render(1,1,x,y);
set_current_field(m_Form, cur);
- delete msgs;
}
// display last errors
else if ( key == 'l' )
@@ -1054,7 +1053,6 @@ void cmCursesMainForm::HandleInput()
msgs->HandleInput();
CurrentForm = this;
this->Render(1,1,x,y);
- delete msgs;
}
else if ( key == '/' )
{