From 24124518ab1387dcc63e3ddeec2acdf43362e20f Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 26 Dec 2006 12:29:42 +0000 Subject: [PATCH] MFH --- ext/xml/xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 9c8d842176..0a1a10e927 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -1097,7 +1097,7 @@ static void php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAMETERS, int ns_supp ns_param = ":"; } - parser = ecalloc(sizeof(xml_parser), 1); + parser = ecalloc(1, sizeof(xml_parser)); parser->parser = XML_ParserCreate_MM((auto_detect ? NULL : encoding), &php_xml_mem_hdlrs, ns_param); -- 2.40.0