Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc60805

Browse files
Avoid double free in case of error for DEL and MGET
1 parent 63ab29e commit bc60805

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

redis_cluster.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,6 @@ distcmd_resp_handler(INTERNAL_FUNCTION_PARAMETERS, redisCluster *c, short slot,
526526
{
527527
cluster_multi_free(mc);
528528
zval_dtor(z_ret);
529-
efree(z_ret);
530529
efree(ctx);
531530
return -1;
532531
}

0 commit comments

Comments
 (0)