From 02c70c485ebb62660b0da2000f180d52e7e8bbb4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 19 Nov 2016 10:50:22 +0000 Subject: [CritFix] Cleanup inactive redis connections --- src/libserver/redis_pool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libserver/redis_pool.c') diff --git a/src/libserver/redis_pool.c b/src/libserver/redis_pool.c index 74ca8811f..fa9573f39 100644 --- a/src/libserver/redis_pool.c +++ b/src/libserver/redis_pool.c @@ -117,6 +117,7 @@ rspamd_redis_pool_conn_dtor (struct rspamd_redis_pool_connection *conn) if (conn->ctx) { g_hash_table_remove (conn->elt->pool->elts_by_ctx, conn->ctx); + redisAsyncFree (conn->ctx); } g_queue_unlink (conn->elt->inactive, conn->entry); -- cgit v1.2.3