removed memory leak in gxsnettunnel

This commit is contained in:
csoler 2018-11-06 20:55:10 +01:00
parent f976e1c525
commit 09f92642d6
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

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