mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/update.cpp: fix memleak
Origin commit data
------------------
Commit: a438c0548b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)
This commit is contained in:
@@ -813,7 +813,7 @@ int CFlashExpert::showMTDSelector(const std::string & actionkey)
|
||||
enabled = false;
|
||||
// build jffs2 image from root0
|
||||
if ((actionkey == "readmtd") && (lx == mtdInfo->findMTDNumberFromName("root0"))) {
|
||||
CMenuForwarder *mf = new CMenuForwarderNonLocalized("root0", true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||
CMenuForwarder *mf = new CMenuDForwarderNonLocalized("root0", true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||
mtdselector->addItem(mf);
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user