mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
add CRCInput::getKeyNameC to fix lifetime issues
in menu.cpp, getKeyName().c_str()'s destructor was already invoked
when the value was used, triggering a valgrind warning.
Origin commit data
------------------
Branch: ni/coolstream
Commit: d5d136f6c1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-31 (Wed, 31 Oct 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -282,6 +282,7 @@ class CRCInput
|
||||
static int getUnicodeValue(const neutrino_msg_t key);
|
||||
|
||||
static const char * getSpecialKeyName(const unsigned int key);
|
||||
static const char *getKeyNameC(const unsigned int key);
|
||||
static std::string getKeyName(const unsigned int key);
|
||||
|
||||
int addTimer(uint64_t Interval, bool oneshot= true, bool correct_time= true );
|
||||
|
Reference in New Issue
Block a user