mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
fix memleak
Origin commit data
------------------
Commit: 0f371cc918
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-25 (Mon, 25 Apr 2016)
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