diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index cc6054881..b80b8cacc 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1293,20 +1293,9 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6 else printf("[neutrino] event - unknown initiatorID 0x%x\n", emsg.initiatorID); - switch (emsg.eventID) { - case NeutrinoMessages::EVT_CURRENTEPG: - case NeutrinoMessages::EVT_NEXTEPG: - { - CSectionsdClient::CurrentNextInfo *cn = (CSectionsdClient::CurrentNextInfo *) p; - delete [] cn; - p = NULL; - break; - } - default: - if (!dont_delete_p) { - delete[] p; - p = NULL; - } + if (!dont_delete_p) { + delete[] p; + p = NULL; } } }