Skip to content

Commit 77c6ca7

Browse files
committed
Fixed wrong zval_dtor() usage
1 parent b01d9e8 commit 77c6ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gmp/gmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op
549549
retval = gmp_do_operation_ex(opcode, result, op1, op2);
550550

551551
if (retval == SUCCESS && op1 == &op1_copy) {
552-
zval_dtor(op1);
552+
zval_ptr_dtor(op1);
553553
}
554554

555555
return retval;

0 commit comments

Comments
 (0)