summaryrefslogtreecommitdiff
path: root/ext/gmp
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-07-05 13:37:59 +0300
committerDmitry Stogov <dmitry@zend.com>2018-07-05 13:37:59 +0300
commit77c6ca7b620d744538d701d9fca446950fb6f568 (patch)
tree71d2a7213891c49b9d24f85dc97570f9646dacfd /ext/gmp
parentb01d9e826caf76c1e75343b5251de078c50e1e2d (diff)
downloadphp-git-77c6ca7b620d744538d701d9fca446950fb6f568.tar.gz
Fixed wrong zval_dtor() usage
Diffstat (limited to 'ext/gmp')
-rw-r--r--ext/gmp/gmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c
index 761ca6f2f1..84e7b4454c 100644
--- a/ext/gmp/gmp.c
+++ b/ext/gmp/gmp.c
@@ -549,7 +549,7 @@ static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op
retval = gmp_do_operation_ex(opcode, result, op1, op2);
if (retval == SUCCESS && op1 == &op1_copy) {
- zval_dtor(op1);
+ zval_ptr_dtor(op1);
}
return retval;