diff --git a/src/redis-cli.c b/src/redis-cli.c index b0a12ebb9..705c7483f 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -2993,6 +2993,8 @@ static int clusterManagerCompareKeysValues(clusterManagerNode *n1, cleanup: if (r1) freeReplyObject(r1); if (r2) freeReplyObject(r2); + zfree(argv); + zfree(argv_len); return success; }