fixed missing delete in generic_sendData() causing a memory leak

This commit is contained in:
csoler 2020-12-09 22:55:15 +01:00
parent 4ddcf3c0bb
commit 758aaffbd0

View File

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