Remove xmlCleanupParser calls from contrib/xml2.
Tom Lane <tgl@sss.pgh.pa.us>
Remove xmlCleanupParser calls from contrib/xml2. These are unnecessary and probably dangerous. I don't see any immediate risk situations in the core XML support or contrib/xml2 itself, but there could be issues with external uses of libxml2, and in any case it's an accident waiting to happen.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/xml2/xpath.c | modified | +5 −30 |
| contrib/xml2/xslt_proc.c | modified | +1 −5 |