avoid pssible memleak

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8d1e34a527
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-21 (Thu, 21 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-04-21 16:59:51 +02:00
parent bc92bf0e62
commit 3f67f95753
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;
}