aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dialog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dialog.cc b/src/dialog.cc
index 35505561..4368720c 100644
--- a/src/dialog.cc
+++ b/src/dialog.cc
@@ -216,6 +216,7 @@ int a_Dialog_choice5(const char *QuestionTxt,
while (window->shown())
Fl::wait();
_MSG("a_Dialog_choice5 answer = %d\n", choice5_answer);
+ delete window;
return choice5_answer;
}