diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index a2dfa2f32..790e18a8b 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -1121,9 +1121,12 @@ int CTestMenu::showTestMenu() w_test.setFooter(footerButtons, 2); w_test.addKey(CRCInput::RC_red, this, "footer_key"); w_test.addKey(CRCInput::RC_green, this, "footer_key"); - + int res = w_test.exec(NULL, ""); + delete w_hw; + delete w_cc; + delete w_msg; //exit - return w_test.exec(NULL, "");; + return res; } void CTestMenu::showCCTests(CMenuWidget *widget)