From: Moriyoshi Koizumi Date: Wed, 7 May 2003 15:28:58 +0000 (+0000) Subject: This should be needed. X-Git-Tag: RELEASE_0_9b~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c539518fb2b4d037e5945349d7f028484cfa8ce;p=php This should be needed. --- 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) {