mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove uncommented init/cleanup code
This is irrelevant and is done by ext/libxml.
This commit is contained in:
parent
564df33ac1
commit
21691cb19b
1 changed files with 0 additions and 16 deletions
|
@ -80,10 +80,6 @@ xmlDocPtr soap_xmlParseFile(const char *filename)
|
||||||
xmlDocPtr ret;
|
xmlDocPtr ret;
|
||||||
bool old_allow_url_fopen;
|
bool old_allow_url_fopen;
|
||||||
|
|
||||||
/*
|
|
||||||
xmlInitParser();
|
|
||||||
*/
|
|
||||||
|
|
||||||
old_allow_url_fopen = PG(allow_url_fopen);
|
old_allow_url_fopen = PG(allow_url_fopen);
|
||||||
PG(allow_url_fopen) = 1;
|
PG(allow_url_fopen) = 1;
|
||||||
ctxt = xmlCreateFileParserCtxt(filename);
|
ctxt = xmlCreateFileParserCtxt(filename);
|
||||||
|
@ -120,10 +116,6 @@ xmlDocPtr soap_xmlParseFile(const char *filename)
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
xmlCleanupParser();
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
cleanup_xml_node((xmlNodePtr)ret);
|
cleanup_xml_node((xmlNodePtr)ret);
|
||||||
}
|
}
|
||||||
|
@ -135,10 +127,6 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
|
||||||
xmlParserCtxtPtr ctxt = NULL;
|
xmlParserCtxtPtr ctxt = NULL;
|
||||||
xmlDocPtr ret;
|
xmlDocPtr ret;
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
xmlInitParser();
|
|
||||||
*/
|
|
||||||
ctxt = xmlCreateMemoryParserCtxt(buf, buf_size);
|
ctxt = xmlCreateMemoryParserCtxt(buf, buf_size);
|
||||||
if (ctxt) {
|
if (ctxt) {
|
||||||
bool old;
|
bool old;
|
||||||
|
@ -171,10 +159,6 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
xmlCleanupParser();
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (ret) {
|
if (ret) {
|
||||||
cleanup_xml_node((xmlNodePtr)ret);
|
cleanup_xml_node((xmlNodePtr)ret);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue