diff options
| author | Bob Weinand <bobwei9@hotmail.com> | 2013-10-31 18:21:37 +0100 |
|---|---|---|
| committer | Bob Weinand <bobwei9@hotmail.com> | 2013-10-31 18:21:37 +0100 |
| commit | 466c5dd1fe194ab3d1634695e2dc96240f951f50 (patch) | |
| tree | 4e2aaced8f7b16165e815c77025a381a56208db0 /Zend/zend_execute_API.c | |
| parent | 2361745806553db9099542d9237ade00dcee799b (diff) | |
| download | php-git-466c5dd1fe194ab3d1634695e2dc96240f951f50.tar.gz | |
Fixed mem leaks, added tests and ternary operator
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index eabebacce4..a66cdeea92 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -599,7 +599,7 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco continue; } if (str_index[str_index_len - 2] == IS_CONSTANT_AST) { - zend_ast_evaluate(&const_value, *(zend_ast **)str_index); + zend_ast_evaluate(&const_value, *(zend_ast **)str_index TSRMLS_CC); ZEND_AST_DEL_REF(*(zend_ast **)str_index); } else if (!zend_get_constant_ex(str_index, str_index_len - 3, &const_value, scope, str_index[str_index_len - 2] TSRMLS_CC)) { char *actual; |
