Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use correct macro/function

  • Loading branch information...
commit b29834a5bec19c60090949b1d2b4396953b0ae21 1 parent 02ea233
Marcus Boerger authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  Zend/zend_interfaces.c
View
3  Zend/zend_interfaces.c
@@ -139,8 +139,7 @@ static int zend_user_has_more(zend_object_iterator *_iter TSRMLS_DC)
zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_has_more, "hasmore", &more);
if (more) {
result = i_zend_is_true(more);
- zval_dtor(more);
- FREE_ZVAL(more);
+ zval_ptr_dtor(&more);
return result ? SUCCESS : FAILURE;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.