From aa66b66bfd4c03563155b169197d7ea9907f7a9f Mon Sep 17 00:00:00 2001 From: unknown <841098845@qq.com> Date: Mon, 28 Aug 2017 10:14:43 +0800 Subject: [PATCH] fix a bug which cause mem leak when post multikey result --- hircluster.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hircluster.c b/hircluster.c index b051936..a638da7 100644 --- a/hircluster.c +++ b/hircluster.c @@ -3468,7 +3468,8 @@ static void *command_post_fragment(redisClusterContext *cc, NOT_REACHED(); } } - + listReleaseIterator(list_iter); + reply = hi_calloc(1,sizeof(*reply)); if (reply == NULL)