com php-src: Fixed script size calculation: ext/opcache/zend_ persist_calc.c
| From: | Dmitry Stogov | Date: | Tue, 01 Apr 2014 09:04:33 +0000 |
| Subject: | com php-src: Fixed script size calculation: ext/opcache/zend_ persist_calc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77512@lists.php.net to get a copy of this message | ||
Commit: 0da12b9273e4cb56be9b31f2e026bda1b9610146
Author: Dmitry Stogov <dmitry@zend.com> Tue, 1 Apr 2014 13:04:33 +0400
Parents: 569bfbd00b51588c992c384b99e0d2e97f0e91b9
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0da12b9273e4cb56be9b31f2e026bda1b9610146
Log:
Fixed script size calculation
Changed paths:
M ext/opcache/zend_persist_calc.c
Diff:
diff --git a/ext/opcache/zend_persist_calc.c b/ext/opcache/zend_persist_calc.c
index 48038dc..bb050af 100644
--- a/ext/opcache/zend_persist_calc.c
+++ b/ext/opcache/zend_persist_calc.c
@@ -135,7 +135,7 @@ static uint zend_persist_zval_calc(zval *z TSRMLS_DC)
size = zend_shared_memdup_size(Z_REF_P(z), sizeof(zend_reference));
if (size) {
ADD_SIZE(size);
- zend_persist_zval_calc(Z_REFVAL_P(z) TSRMLS_CC);
+ ADD_SIZE(zend_persist_zval_calc(Z_REFVAL_P(z) TSRMLS_CC));
}
break;
case IS_CONSTANT_AST: