From ee0749c990b020f8c714e597e71a9d7b0f981596 Mon Sep 17 00:00:00 2001 From: pablo berrilio Date: Wed, 16 Aug 2017 11:35:04 -0300 Subject: [PATCH] Fix redisClusterAsyncDisconnect memory leak --- hircluster.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hircluster.c b/hircluster.c index b051936..10b1ce4 100644 --- a/hircluster.c +++ b/hircluster.c @@ -4944,6 +4944,8 @@ void redisClusterAsyncDisconnect(redisClusterAsyncContext *acc) { node->acon = NULL; } + + dictReleaseIterator(di); } void redisClusterAsyncFree(redisClusterAsyncContext *acc)