mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
src/gui/test_menu.cpp fix memleak
This commit is contained in:
@@ -1121,9 +1121,12 @@ int CTestMenu::showTestMenu()
|
|||||||
w_test.setFooter(footerButtons, 2);
|
w_test.setFooter(footerButtons, 2);
|
||||||
w_test.addKey(CRCInput::RC_red, this, "footer_key");
|
w_test.addKey(CRCInput::RC_red, this, "footer_key");
|
||||||
w_test.addKey(CRCInput::RC_green, 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
|
//exit
|
||||||
return w_test.exec(NULL, "");;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CTestMenu::showCCTests(CMenuWidget *widget)
|
void CTestMenu::showCCTests(CMenuWidget *widget)
|
||||||
|
Reference in New Issue
Block a user