From ad68515d52747cdd33d25306b2126cbc20cc5e0e Mon Sep 17 00:00:00 2001 From: ali kettab Date: Sat, 25 Jul 2020 14:59:31 +0100 Subject: [PATCH] cleanup a wxTextCtrl leftover from SpinCtrlTest --- tests/controls/spinctrltest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/controls/spinctrltest.cpp b/tests/controls/spinctrltest.cpp index e4c94e313e..bc1b994bf9 100644 --- a/tests/controls/spinctrltest.cpp +++ b/tests/controls/spinctrltest.cpp @@ -338,6 +338,8 @@ TEST_CASE_METHOD(SpinCtrlTestCase3, "SpinCtrl::SetValueInsideEventHandler", "[sp CHECK(m_spin->GetValue() == 32); } + + delete text; #endif // wxUSE_UIACTIONSIMULATOR }