mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed memory leak in gxsnettunnel
This commit is contained in:
parent
f976e1c525
commit
09f92642d6
@ -541,6 +541,7 @@ void RsGxsNetTunnelService::receiveTurtleData(const RsTurtleGenericTunnelItem *i
|
|||||||
if(!pid_item) // this handles the case of a KeepAlive packet.
|
if(!pid_item) // this handles the case of a KeepAlive packet.
|
||||||
{
|
{
|
||||||
delete decrypted_item ;
|
delete decrypted_item ;
|
||||||
|
free(data);
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user