mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
fix memleak
This commit is contained in:
@@ -431,7 +431,7 @@ int CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
break;
|
||||
default:
|
||||
if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000))
|
||||
delete (unsigned char*) data;
|
||||
delete[] (unsigned char*) data;
|
||||
break;
|
||||
}
|
||||
return msg;
|
||||
|
Reference in New Issue
Block a user