From d59eb9fcc3ce981a53c004c440b67f131d56bd7e Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 6 Nov 2015 23:05:35 +0100 Subject: [PATCH] fix decrement_function regarding bug #70863 --- Zend/zend_operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index bad2aa648f..3f4f29020e 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -2345,7 +2345,7 @@ try_again: zval *val; val = Z_OBJ_HANDLER_P(op1, get)(op1, &rv); - Z_ADDREF_P(val); + Z_TRY_ADDREF_P(val); decrement_function(val); Z_OBJ_HANDLER_P(op1, set)(op1, val); zval_ptr_dtor(val); -- 2.40.0