mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 18:03:30 +08:00
libfreerdp-crypto: fix a small memory leak.
This commit is contained in:
parent
f76a50c53b
commit
71e7e1c23d
@ -182,6 +182,8 @@ boolean tls_accept(rdpTls* tls, const char* cert_file, const char* privatekey_fi
|
||||
return false;
|
||||
}
|
||||
|
||||
xfree(cert);
|
||||
|
||||
if (SSL_set_fd(tls->ssl, tls->sockfd) < 1)
|
||||
{
|
||||
printf("SSL_set_fd failed\n");
|
||||
|
Loading…
Reference in New Issue
Block a user