diff --git a/src/network/openssl.c b/src/network/openssl.c index 6e7431c..2b160bd 100644 --- a/src/network/openssl.c +++ b/src/network/openssl.c @@ -302,6 +302,7 @@ void net_ssl_destroy(struct net_connection* con) { struct net_ssl_openssl* handle = get_handle(con); SSL_free(handle->ssl); + hub_free(handle); } void net_ssl_callback(struct net_connection* con, int events)