diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-19 10:50:22 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-19 10:50:22 +0000 |
commit | 02c70c485ebb62660b0da2000f180d52e7e8bbb4 (patch) | |
tree | 2adc0fbbebc91f05dd7ffb3095de61e8831a2a0b /src/libserver | |
parent | 33d599872d1edfc27fed12e11087e878d8165df1 (diff) | |
download | rspamd-02c70c485ebb62660b0da2000f180d52e7e8bbb4.tar.gz rspamd-02c70c485ebb62660b0da2000f180d52e7e8bbb4.zip |
[CritFix] Cleanup inactive redis connections
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/redis_pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |