From: Rob Richards Date: Sun, 27 Jul 2003 20:32:55 +0000 (+0000) Subject: Fix bug #24801 (xml_call_handler() causes segmentation fault) X-Git-Tag: BEFORE_ARG_INFO~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d31aa4444b227c080d8b097c170dec0e6633640;p=php Fix bug #24801 (xml_call_handler() causes segmentation fault) --- diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 241abee845..7aa0d91c67 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -419,8 +419,6 @@ static zval *xml_call_handler(xml_parser *parser, zval *handler, zend_function * php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s::%s()", Z_OBJCE_PP(obj)->name, Z_STRVAL_PP(method)); } else php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler"); - - zval_ptr_dtor(&retval); } for (i = 0; i < argc; i++) {