diff options
author | Nikita Popov <nikic@php.net> | 2014-08-25 21:59:30 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-08-25 22:04:33 +0200 |
commit | 899a1ed59a2f7133367dc39f95b143c019822520 (patch) | |
tree | a8fc518673cf0c94ad363d04bc3474eb3f3bfa66 /Zend/zend_execute_API.c | |
parent | af59e92b24c8f624672720d47ef65bd8457728b9 (diff) | |
parent | 6db293d5e043d35c281a6b11cb68460f5d7188a9 (diff) | |
download | php-git-POST_AST_MERGE.tar.gz |
Merge branch 'ast'POST_AST_MERGE
Conflicts:
Zend/zend_compile.c
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index af309c5e64..461225da99 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -606,7 +606,7 @@ ZEND_API int zval_update_constant_ex(zval *p, zend_bool inline_change, zend_clas zend_ast_evaluate(&tmp, Z_ASTVAL_P(p), scope TSRMLS_CC); if (inline_change) { - zend_ast_destroy(Z_ASTVAL_P(p)); + zend_ast_destroy_and_free(Z_ASTVAL_P(p)); efree(Z_AST_P(p)); } ZVAL_COPY_VALUE(p, &tmp); @@ -1468,7 +1468,7 @@ check_fetch_type: } return EG(current_execute_data)->called_scope; case ZEND_FETCH_CLASS_AUTO: { - fetch_type = zend_get_class_fetch_type(class_name->val, class_name->len); + fetch_type = zend_get_class_fetch_type(class_name); if (fetch_type!=ZEND_FETCH_CLASS_DEFAULT) { goto check_fetch_type; } |