avoid pssible memleak

This commit is contained in:
Jacek Jendrzej
2016-04-21 16:59:51 +02:00
parent 8fb4e1b78e
commit 8d1e34a527
2 changed files with 4 additions and 2 deletions

View File

@@ -1183,7 +1183,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
case NeutrinoMessages::EVT_NEXTEPG:
{
CSectionsdClient::CurrentNextInfo *cn = (CSectionsdClient::CurrentNextInfo *) p;
delete cn;
delete [] cn;
p = NULL;
break;
}