Fixed bug #50519 (segfault in garbage collection when using set_error_handler and DomDocument)

This commit is contained in:
Dmitry Stogov 2009-12-25 13:11:18 +00:00
parent 08974cf41b
commit acd8753c5d

View File

@ -180,6 +180,9 @@ ZEND_API void _zval_copy_ctor_wrapper(zval *zvalue) /* {{{ */
ZEND_API void _zval_dtor_wrapper(zval *zvalue) /* {{{ */
{
TSRMLS_FETCH();
GC_REMOVE_ZVAL_FROM_BUFFER(zvalue);
zval_dtor(zvalue);
}
/* }}} */