From e972b03f38a33f65ea35fc58f93184b995b1355c Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 2 Dec 2011 13:03:17 +0100 Subject: [PATCH] Fix SSL disconnect memory leak. --- src/network/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/backend.c b/src/network/backend.c index 73106d1..b74d798 100644 --- a/src/network/backend.c +++ b/src/network/backend.c @@ -222,7 +222,7 @@ void net_cleanup_process(struct net_cleanup_handler* handler) { struct net_connection* con = handler->queue[n]; LOG_TRACE("net_cleanup_process: free: %p", con); - hub_free(con); + net_con_destroy(con); } handler->num = 0; }