Fix memleak

This commit is contained in:
Tillmann Karras 2013-09-06 21:17:31 +02:00
parent 591d0ba5bb
commit fa782e3d2c

View File

@ -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)