From 8c539518fb2b4d037e5945349d7f028484cfa8ce Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Wed, 7 May 2003 15:28:58 +0000 Subject: [PATCH] This should be needed. --- ext/xml/compat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/xml/compat.c b/ext/xml/compat.c index d910ffe060..090fa5bd9c 100644 --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -240,6 +240,7 @@ XML_ParserCreate_MM(const XML_Char *encoding, const XML_Memory_Handling_Suite *m xmlMemSetup(memsuite->free_fcn, memsuite->malloc_fcn, memsuite->realloc_fcn, _expat_compat_intn_strdup); /* WHOCANFIXME: not reentrant ! */ parser = (XML_Parser) memsuite->malloc_fcn(sizeof(struct _XML_Parser)); + parser->namespace = 0; parser->mem_hdlrs = *memsuite; parser->parser = xmlCreatePushParserCtxt((xmlSAXHandlerPtr) &php_xml_compat_handlers, (void *) parser, NULL, 0, NULL); if (parser->parser == NULL) { -- 2.50.1