Scan setup: fix memleak

Origin commit data
------------------
Commit: ce7869008e
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2013-01-14 (Mon, 14 Jan 2013)
This commit is contained in:
Gaucho316
2013-01-14 19:45:16 +01:00
committed by Jacek Jendrzej
parent daf4a68e5e
commit ee843db0c3

View File

@@ -633,7 +633,7 @@ int CScanSetup::showUnicableSetup()
uni_setup->addIntroItems();
uni_setup->addItem(uniscr);
CMenuForwarder *mf = new CMenuForwarder(LOCALE_UNICABLE_QRG, true, uniqrg->getValue(), uniqrg);
CMenuForwarder *mf = new CMenuDForwarder(LOCALE_UNICABLE_QRG, true, uniqrg->getValue(), uniqrg);
uni_setup->addItem(mf);
res = uni_setup->exec(NULL, "");
delete uni_setup;