mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
gui/update_menue.cpp: fix memleak
This commit is contained in:
@@ -118,9 +118,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
|||||||
softUpdate.addItem(GenericMenuSeparatorLine);
|
softUpdate.addItem(GenericMenuSeparatorLine);
|
||||||
|
|
||||||
if (g_settings.easymenu)
|
if (g_settings.easymenu)
|
||||||
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
mf = new CMenuDForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||||
else
|
else
|
||||||
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(1));
|
mf = new CMenuDForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(1));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_CREATEIMAGE_MENU);
|
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_CREATEIMAGE_MENU);
|
||||||
softUpdate.addItem(mf);
|
softUpdate.addItem(mf);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user