Fix memleak
This commit is contained in:
parent
591d0ba5bb
commit
fa782e3d2c
@ -302,6 +302,7 @@ void net_ssl_destroy(struct net_connection* con)
|
|||||||
{
|
{
|
||||||
struct net_ssl_openssl* handle = get_handle(con);
|
struct net_ssl_openssl* handle = get_handle(con);
|
||||||
SSL_free(handle->ssl);
|
SSL_free(handle->ssl);
|
||||||
|
hub_free(handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void net_ssl_callback(struct net_connection* con, int events)
|
void net_ssl_callback(struct net_connection* con, int events)
|
||||||
|
Loading…
Reference in New Issue
Block a user