mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed memory leak due to zeroing (on purpose!) a data chunk in GRouter before deleting it
This commit is contained in:
parent
d017771650
commit
aba3d2fb35
@ -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 ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user