gui/osd_setup.cpp: fix memleak

Origin commit data
------------------
Commit: 98fb57d924
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)
This commit is contained in:
[CST] Focus
2013-11-29 13:41:44 +04:00
parent 306b50c6bc
commit b5b51436fb

View File

@@ -515,7 +515,7 @@ int COsdSetup::showOsdSetup()
osd_menu->addItem(mf);
//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);
osd_menu->addItem(mf);