summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-05-29 17:58:06 +0300
committerDmitry Stogov <dmitry@zend.com>2018-05-29 17:58:06 +0300
commitd90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f (patch)
treeb651c9cea24d5fd0c82796e498a46f1b96b40e4d /Zend/zend_operators.c
parent44be0fa67b46506353c3dd27d97801bd0eddbb00 (diff)
downloadphp-git-d90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f.tar.gz
Removed useless zval_ptr_dtor()
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index d7abf13254..70ea7e5404 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -2433,7 +2433,6 @@ try_again:
ZVAL_LONG(&op2, 1);
res = Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2);
- zval_ptr_dtor(&op2);
return res;
}
@@ -2501,7 +2500,6 @@ try_again:
ZVAL_LONG(&op2, 1);
res = Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2);
- zval_ptr_dtor(&op2);
return res;
}