From fa782e3d2c4d198eff8c312153fb6a0f381c113e Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 6 Sep 2013 21:17:31 +0200 Subject: [PATCH] Fix memleak --- src/network/openssl.c | 1 + 1 file changed, 1 insertion(+) 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)