summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 376711503b..728a811f47 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -1133,11 +1133,9 @@ PHP_FUNCTION(xml_set_object)
ZEND_FETCH_RESOURCE(parser,xml_parser *,pind, -1, "XML Parser", le_xml_parser);
/* please leave this commented - or ask thies@thieso.net before doing it (again) */
-#ifdef ZEND_ENGINE_2
if (parser->object) {
zval_ptr_dtor(&parser->object);
}
-#endif
parser->object = *mythis;