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:
authorNicolas Favre-Felix <n.favrefelix@gmail.com>2010-05-12 21:14:50 +0400
committerNicolas Favre-Felix <n.favrefelix@gmail.com>2010-05-12 21:14:50 +0400
commite28aaa21e07bf72c3708bb765f5a346e6d47309b (patch)
tree99a941ccf9e286c6607597f34bb4783ee805a6da /redis.c
parentb9aaaa74f234c6ab47f12ef7fa8b978af3247399 (diff)
Fixed small leak and assert error.
Diffstat (limited to 'redis.c')
-rwxr-xr-xredis.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/redis.c b/redis.c
index 9d667c69..d7f5e57c 100755
--- a/redis.c
+++ b/redis.c
@@ -3279,7 +3279,6 @@ PHPAPI int redis_sock_read_multibulk_pipeline_reply(INTERNAL_FUNCTION_PARAMETERS
redis_sock, z_tab, NULL);
*return_value = *z_tab;
- zval_copy_ctor(return_value);
efree(z_tab);
/* free allocated function/request memory */
@@ -3316,7 +3315,6 @@ PHPAPI int redis_sock_read_multibulk_multi_reply(INTERNAL_FUNCTION_PARAMETERS,
redis_sock, z_tab, numElems);
*return_value = *z_tab;
- zval_copy_ctor(return_value);
efree(z_tab);
return 0;