From 14fc049c6fe57f529fc6ccf98b1bf460cd5b5a1a Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Thu, 28 Jun 2018 22:24:34 -0500 Subject: [PATCH] Forgot to add a destructor to UI_Choice. --- src/GUI/OptionsGroup/Field.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GUI/OptionsGroup/Field.hpp b/src/GUI/OptionsGroup/Field.hpp index bd083def6..fecedf940 100644 --- a/src/GUI/OptionsGroup/Field.hpp +++ b/src/GUI/OptionsGroup/Field.hpp @@ -221,6 +221,7 @@ public: } return this->_choice->GetValue().ToStdString(); } + ~UI_Choice() { _choice->Destroy(); } /// Returns a bare pointer to the underlying combobox, usually for test interface