mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
fix memleak
This commit is contained in:
@@ -1181,6 +1181,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
|||||||
switch (emsg.eventID) {
|
switch (emsg.eventID) {
|
||||||
case NeutrinoMessages::EVT_CURRENTEPG:
|
case NeutrinoMessages::EVT_CURRENTEPG:
|
||||||
case NeutrinoMessages::EVT_NEXTEPG:
|
case NeutrinoMessages::EVT_NEXTEPG:
|
||||||
|
case NeutrinoMessages::EVT_NOEPG_YET:
|
||||||
{
|
{
|
||||||
CSectionsdClient::CurrentNextInfo *cn = (CSectionsdClient::CurrentNextInfo *) p;
|
CSectionsdClient::CurrentNextInfo *cn = (CSectionsdClient::CurrentNextInfo *) p;
|
||||||
delete [] cn;
|
delete [] cn;
|
||||||
|
@@ -1985,6 +1985,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
|
|||||||
std::string text = "No transponders found for ";
|
std::string text = "No transponders found for ";
|
||||||
text += name;
|
text += name;
|
||||||
ShowHint(LOCALE_MESSAGEBOX_ERROR, text.c_str(), 450, 2);
|
ShowHint(LOCALE_MESSAGEBOX_ERROR, text.c_str(), 450, 2);
|
||||||
|
delete selector;
|
||||||
return menu_return::RETURN_REPAINT;
|
return menu_return::RETURN_REPAINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user