Skip to content
Browse files

Use correct macro/function

  • Loading branch information...
1 parent 02ea233 commit b29834a5bec19c60090949b1d2b4396953b0ae21 Marcus Boerger committed Nov 18, 2003
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;
}
}

0 comments on commit b29834a

Please sign in to comment.
Something went wrong with that request. Please try again.