libfreerdp-core: fix memory leaks.
This commit is contained in:
parent
ba784fde67
commit
ad9419705a
@ -938,8 +938,6 @@ rdpRdp* rdp_new(freerdp* instance)
|
||||
|
||||
void rdp_free(rdpRdp* rdp)
|
||||
{
|
||||
return;
|
||||
|
||||
if (rdp != NULL)
|
||||
{
|
||||
crypto_rc4_free(rdp->rc4_decrypt_key);
|
||||
|
@ -526,6 +526,7 @@ void transport_free(rdpTransport* transport)
|
||||
tls_free(transport->tls);
|
||||
|
||||
tcp_free(transport->tcp);
|
||||
tcp_free(transport->tcp_in);
|
||||
tsg_free(transport->tsg);
|
||||
|
||||
xfree(transport);
|
||||
|
Loading…
Reference in New Issue
Block a user