From ce7869008e969a3db5ed3b82a710158572579bf0 Mon Sep 17 00:00:00 2001 From: Gaucho316 Date: Mon, 14 Jan 2013 19:45:16 +0100 Subject: [PATCH] Scan setup: fix memleak --- src/gui/scan_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index eb345732a..274686480 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -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;