fix memleak

Origin commit data
------------------
Commit: b3db5f7f7c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-16 (Tue, 16 Oct 2012)
This commit is contained in:
Jacek Jendrzej
2012-10-16 15:42:10 +02:00
parent 43047a7a4a
commit 8b29bbdb57
3 changed files with 5 additions and 5 deletions

View File

@@ -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;