Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2020-01-18 00:29:07 +0300
committerMichael Grunder <michael.grunder@gmail.com>2020-01-19 20:35:24 +0300
commita107c9fc08e05c7961750be9dfaec661ca1cbefb (patch)
treee87cff0536fa3f7527ae6488b87dfe055197da83 /cluster_library.c
parent2d39b48d4ac343bde1e42de7568e032ed3db4227 (diff)
Fix a couple of memory leaks in Redis/RedisCluster
Addresses #1701
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster_library.c b/cluster_library.c
index bce78bc9..24d3110a 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -2448,6 +2448,8 @@ PHP_REDIS_API void cluster_mbulk_mget_resp(INTERNAL_FUNCTION_PARAMETERS,
} else {
add_next_index_zval(&c->multi_resp, mctx->z_multi);
}
+
+ efree(mctx->z_multi);
}
// Clean up this context item