From a3fe9039e99ab1490ed17422a4341f510dd5f830 Mon Sep 17 00:00:00 2001 From: thilo Date: Wed, 23 Mar 2011 10:57:25 +0000 Subject: [PATCH] *neutrino miscsettings: possible memleak sealed git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1327 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/miscsettings_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 1588b604d..a0acad18a 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -182,9 +182,9 @@ void CMiscMenue::showMiscSettingsMenu() misc_menue->addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_GENERAL, true, NULL, misc_menue_general, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED)); //energy, shutdown - CMenuWidget *misc_menue_energy = new CMenuWidget(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width); if(cs_get_revision() > 7) { + CMenuWidget *misc_menue_energy = new CMenuWidget(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width); showMiscSettingsMenuEnergy(misc_menue_energy); misc_menue->addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_ENERGY, true, NULL, misc_menue_energy, NULL, CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN)); }