mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -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.
|
||||
{
|
||||
delete decrypted_item ;
|
||||
free(data);
|
||||
return ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue