mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 23:00:56 -04:00
removed memory leak in gxsnettunnel
This commit is contained in:
parent
f976e1c525
commit
09f92642d6
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue