diff options
author | michael-grunder <michael.grunder@gmail.com> | 2017-02-15 04:56:48 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2017-02-15 04:56:48 +0300 |
commit | aa6ff77a3e546defae5a208032c62a3138a4ab2c (patch) | |
tree | 383cf19643e84fb837d516d82239e8da146ac605 /cluster_library.c | |
parent | 162d8820bc6e179419fe5db593ec47122e8d6129 (diff) |
Fix memory leak
Diffstat (limited to 'cluster_library.c')
-rw-r--r-- | cluster_library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c index 923dda4e..a40c00d2 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -2036,7 +2036,7 @@ PHP_REDIS_API void cluster_info_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster // Return our array if(CLUSTER_IS_ATOMIC(c)) { - RETVAL_ZVAL(z_result, 1, 0); + RETVAL_ZVAL(z_result, 0, 1); } else { add_next_index_zval(&c->multi_resp, z_result); } |