mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
gui/osd_setup.cpp: fix memleak
This commit is contained in:
@@ -515,7 +515,7 @@ int COsdSetup::showOsdSetup()
|
|||||||
osd_menu->addItem(mf);
|
osd_menu->addItem(mf);
|
||||||
|
|
||||||
//progressbar
|
//progressbar
|
||||||
mf = new CMenuForwarder(LOCALE_MISCSETTINGS_PROGRESSBAR, true, NULL, new CProgressbarSetup(), NULL, CRCInput::convertDigitToKey(shortcut++));
|
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_PROGRESSBAR, true, NULL, new CProgressbarSetup(), NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_PROGRESSBAR);
|
mf->setHint("", LOCALE_MENU_HINT_PROGRESSBAR);
|
||||||
osd_menu->addItem(mf);
|
osd_menu->addItem(mf);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user