Skip to content

Commit aa6ff77

Browse files
Fix memory leak
1 parent 162d882 commit aa6ff77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster_library.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@ PHP_REDIS_API void cluster_info_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster
20362036

20372037
// Return our array
20382038
if(CLUSTER_IS_ATOMIC(c)) {
2039-
RETVAL_ZVAL(z_result, 1, 0);
2039+
RETVAL_ZVAL(z_result, 0, 1);
20402040
} else {
20412041
add_next_index_zval(&c->multi_resp, z_result);
20422042
}

0 commit comments

Comments
 (0)