Fixed typo

This commit is contained in:
Xinchen Hui 2016-07-20 17:01:42 +08:00
parent 97c0b133c5
commit cbbe17fb53
2 changed files with 2 additions and 0 deletions

View file

@ -4193,6 +4193,7 @@ ZEND_VM_HANDLER(107, ZEND_CATCH, CONST, CV)
if (UNEXPECTED(Z_ISREF_P(ex))) {
ex = Z_REFVAL_P(ex);
}
zval_ptr_dtor(ex);
ZVAL_OBJ(ex, EG(exception));
if (UNEXPECTED(EG(exception) != exception)) {
GC_REFCOUNT(EG(exception))++;

View file

@ -9592,6 +9592,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_CATCH_SPEC_CONST_CV_HANDLER(ZE
if (UNEXPECTED(Z_ISREF_P(ex))) {
ex = Z_REFVAL_P(ex);
}
zval_ptr_dtor(ex);
ZVAL_OBJ(ex, EG(exception));
if (UNEXPECTED(EG(exception) != exception)) {
GC_REFCOUNT(EG(exception))++;