diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-10 20:34:06 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:43:40 +0300 |
commit | 955604cbd6a1aada0c7b2691b8dc961bf5ba16ed (patch) | |
tree | c4a1d97a09f4500af8141ddda79672e852648df6 /redis_cluster.h | |
parent | 8ec901f9278204c5bc61a0d47dffa2f13cd2fc45 (diff) |
Fix memory leak, inc arg count
Properly free allocated z_args array, as well as increment
our argc value in the case of a single array + timeout command.
Diffstat (limited to 'redis_cluster.h')
-rw-r--r-- | redis_cluster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redis_cluster.h b/redis_cluster.h index 5f3dceb6..fe7f553f 100644 --- a/redis_cluster.h +++ b/redis_cluster.h @@ -79,6 +79,8 @@ PHP_METHOD(RedisCluster, rpop); PHP_METHOD(RedisCluster, spop); PHP_METHOD(RedisCluster, rpush); PHP_METHOD(RedisCluster, lpush); +PHP_METHOD(RedisCluster, blpop); +PHP_METHOD(RedisCluster, brpop); PHP_METHOD(RedisCluster, rpushx); PHP_METHOD(RedisCluster, lpushx); PHP_METHOD(RedisCluster, linsert); |