com php-src: Fixed memory leak: Zend/zend_execute_API.c

From: Date: Tue, 25 Feb 2014 12:20:42 +0000
Subject: com php-src: Fixed memory leak: Zend/zend_execute_API.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77922@lists.php.net to get a copy of this message
Commit: 77abd35b784e38afea5d1cd6613ec40372162ba1 Author: Dmitry Stogov <dmitry@zend.com> Tue, 25 Feb 2014 16:20:42 +0400 Parents: 639e4e1afac8c79d28e1a4c3df48fc060b35b68e Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=77abd35b784e38afea5d1cd6613ec40372162ba1 Log: Fixed memory leak Changed paths: M Zend/zend_execute_API.c Diff: diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 794f3dc..863130b 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -663,6 +663,7 @@ ZEND_API int zval_update_constant_ex(zval *p, void *arg, zend_class_entry *scope zend_ast_evaluate(&const_value, Z_ASTVAL_P(p), scope TSRMLS_CC); if (inline_change) { zend_ast_destroy(Z_ASTVAL_P(p)); + efree(Z_AST_P(p)); } ZVAL_COPY_VALUE(p, &const_value); }

« previous php.cvs (#77922) next »