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:
Jacek Jendrzej
2016-04-25 15:41:06 +02:00
parent f5932d9cd8
commit ab87ecabe7
2 changed files with 2 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;
} }