mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
neutrino: various fixes and ports from the original
* avoid ambiguities in new and delete by always allocating char[] * get rid of unused next_program_timer * reduce code differences to original, known good neutrino code
This commit is contained in:
@@ -2311,7 +2311,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
|
||||
if( res != messages_return::unhandled ) {
|
||||
if( ( msg>= CRCInput::RC_WithData ) && ( msg< CRCInput::RC_WithData+ 0x10000000 ) )
|
||||
delete (unsigned char*) data;
|
||||
delete[] (unsigned char*) data;
|
||||
return( res & ( 0xFFFFFFFF - messages_return::unhandled ) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user