Thread: pgsql: Remove xmlCleanupParser calls from contrib/xml2.

pgsql: Remove xmlCleanupParser calls from contrib/xml2.

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/contrib/xml2:
        xpath.c (r1.27 -> r1.28)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xpath.c?r1=1.27&r2=1.28)
        xslt_proc.c (r1.17 -> r1.18)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xslt_proc.c?r1=1.17&r2=1.18)