mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge pull request #5709 from artix75/cluster_manager_fix_cmd
Fixed memory leak in clusterManagerCompareKeysValues.
This commit is contained in:
commit
f07205e48c
@ -2993,6 +2993,8 @@ static int clusterManagerCompareKeysValues(clusterManagerNode *n1,
|
|||||||
cleanup:
|
cleanup:
|
||||||
if (r1) freeReplyObject(r1);
|
if (r1) freeReplyObject(r1);
|
||||||
if (r2) freeReplyObject(r2);
|
if (r2) freeReplyObject(r2);
|
||||||
|
zfree(argv);
|
||||||
|
zfree(argv_len);
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user