removed memory leak due to zeroing (on purpose!) a data chunk in GRouter before deleting it

This commit is contained in:
csoler 2016-04-20 18:24:02 -04:00
parent d017771650
commit aba3d2fb35

View File

@ -613,7 +613,6 @@ RsGRouterAbstractMsgItem *GRouterDataInfo::addDataChunk(RsGRouterTransactionChun
{
RsItem *data_item = RsGRouterSerialiser().deserialise(incoming_data_buffer->chunk_data,&incoming_data_buffer->chunk_size) ;
incoming_data_buffer->chunk_data = NULL;
delete incoming_data_buffer;
incoming_data_buffer = NULL ;