mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed missing delete in generic_sendData() causing a memory leak
This commit is contained in:
parent
4ddcf3c0bb
commit
758aaffbd0
@ -769,6 +769,7 @@ void RsGxsNetService::generic_sendItem(RsNxsItem *si)
|
||||
ser.serialise(si,mem,&size) ;
|
||||
|
||||
mGxsNetTunnel->sendTunnelData(mServType,mem,size,static_cast<RsGxsNetTunnelVirtualPeerId>(si->PeerId()));
|
||||
delete si;
|
||||
}
|
||||
else
|
||||
sendItem(si) ;
|
||||
|
Loading…
Reference in New Issue
Block a user