mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
Revert "user_menue: fix use heap after free, in infoviewer_bb.cpp:257"
This reverts commit 28a051b14c
.
This commit is contained in:
@@ -578,7 +578,7 @@ const char *CUserMenu::getUserMenuButtonName(int button, bool &active, bool retu
|
|||||||
return "";
|
return "";
|
||||||
|
|
||||||
neutrino_locale_t loc = NONEXISTANT_LOCALE;
|
neutrino_locale_t loc = NONEXISTANT_LOCALE;
|
||||||
static const char *text = NULL;
|
const char *text = NULL;
|
||||||
int mode = CNeutrinoApp::getInstance()->getMode();
|
int mode = CNeutrinoApp::getInstance()->getMode();
|
||||||
|
|
||||||
std::vector<std::string> items = ::split(g_settings.usermenu[button]->items, ',');
|
std::vector<std::string> items = ::split(g_settings.usermenu[button]->items, ',');
|
||||||
|
Reference in New Issue
Block a user