mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
update_menu: don't leak COPKGManager objects
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 70e1891b36
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
d843b7fa2a
commit
6bef0548d1
@@ -106,7 +106,7 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
||||
softUpdate.addItem(mf);
|
||||
|
||||
//firmware update via opkg
|
||||
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, COPKGManager::hasOpkgSupport(), NULL, new COPKGManager());
|
||||
mf = new CMenuDForwarder(LOCALE_OPKG_TITLE, COPKGManager::hasOpkgSupport(), NULL, new COPKGManager());
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
|
||||
softUpdate.addItem(mf);
|
||||
}
|
||||
|
Reference in New Issue
Block a user