mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +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;
|
||||
bool old_allow_url_fopen;
|
||||
|
||||
/*
|
||||
xmlInitParser();
|
||||
*/
|
||||
|
||||
old_allow_url_fopen = PG(allow_url_fopen);
|
||||
PG(allow_url_fopen) = 1;
|
||||
ctxt = xmlCreateFileParserCtxt(filename);
|
||||
|
@ -120,10 +116,6 @@ xmlDocPtr soap_xmlParseFile(const char *filename)
|
|||
ret = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
xmlCleanupParser();
|
||||
*/
|
||||
|
||||
if (ret) {
|
||||
cleanup_xml_node((xmlNodePtr)ret);
|
||||
}
|
||||
|
@ -135,10 +127,6 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
|
|||
xmlParserCtxtPtr ctxt = NULL;
|
||||
xmlDocPtr ret;
|
||||
|
||||
|
||||
/*
|
||||
xmlInitParser();
|
||||
*/
|
||||
ctxt = xmlCreateMemoryParserCtxt(buf, buf_size);
|
||||
if (ctxt) {
|
||||
bool old;
|
||||
|
@ -171,10 +159,6 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
|
|||
ret = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
xmlCleanupParser();
|
||||
*/
|
||||
|
||||
/*
|
||||
if (ret) {
|
||||
cleanup_xml_node((xmlNodePtr)ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue