Ensure xmlFree(NULL) is a no-op instead of a core dump.  Per report from Sergey Burladyan, there are at least some dank corners of libxml2 that assume this behavior, even though their published documentation suggests they shouldn't.
Ensure xmlFree(NULL) is a no-op instead of a core dump.  Per report from
Sergey Burladyan, there are at least some dank corners of libxml2 that
assume this behavior, even though their published documentation suggests
they shouldn't.

This is only really a live problem in 8.3, but the code is still there
for possible debugging use in HEAD, so patch both branches.

edespino/gpdb,snaga/postgres-xl,edespino/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,jmcatamney/gpdb,zeroae/postgres-xl,yuanzhao/gpdb,pavanvd/postgres-xl,kmjungersen/PostgresXL,tpostgres-projects/tPostgres,50wu/gpdb,kmjungersen/PostgresXL,xinzweb/gpdb,kmjungersen/PostgresXL,ashwinstar/gpdb,zeroae/postgres-xl,tpostgres-projects/tPostgres,greenplum-db/gpdb,techdragon/Postgres-XL,xinzweb/gpdb,xinzweb/gpdb,Chibin/gpdb,techdragon/Postgres-XL,Chibin/gpdb,Chibin/gpdb,edespino/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,yuanzhao/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,zeroae/postgres-xl,yazun/postgres-xl,adam8157/gpdb,snaga/postgres-xl,edespino/gpdb,xinzweb/gpdb,lisakowen/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,lisakowen/gpdb,oberstet/postgres-xl,50wu/gpdb,oberstet/postgres-xl,jmcatamney/gpdb,edespino/gpdb,arcivanov/postgres-xl,adam8157/gpdb,yazun/postgres-xl,adam8157/gpdb,yazun/postgres-xl,adam8157/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,yuanzhao/gpdb,ashwinstar/gpdb,lisakowen/gpdb,Chibin/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,lisakowen/gpdb,edespino/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,yazun/postgres-xl,postmind-net/postgres-xl,50wu/gpdb,arcivanov/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,snaga/postgres-xl,adam8157/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,50wu/gpdb,oberstet/postgres-xl,tpostgres-projects/tPostgres,arcivanov/postgres-xl,ashwinstar/gpdb,lisakowen/gpdb,greenplum-db/gpdb,edespino/gpdb,Chibin/gpdb,oberstet/postgres-xl,ovr/postgres-xl,techdragon/Postgres-XL,tpostgres-projects/tPostgres,Postgres-XL/Postgres-XL,oberstet/postgres-xl,ashwinstar/gpdb,kmjungersen/PostgresXL,postmind-net/postgres-xl,yuanzhao/gpdb,ovr/postgres-xl,Chibin/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,ovr/postgres-xl,adam8157/gpdb,jmcatamney/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,lisakowen/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,ashwinstar/gpdb,snaga/postgres-xl,snaga/postgres-xl,arcivanov/postgres-xl,edespino/gpdb,yuanzhao/gpdb,edespino/gpdb,pavanvd/postgres-xl,greenplum-db/gpdb,techdragon/Postgres-XL,yuanzhao/gpdb,ovr/postgres-xl,yazun/postgres-xl,postmind-net/postgres-xl,jmcatamney/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,adam8157/gpdb,xinzweb/gpdb,lisakowen/gpdb,xinzweb/gpdb,edespino/gpdb,postmind-net/postgres-xl,arcivanov/postgres-xl,xinzweb/gpdb,Chibin/gpdb,50wu/gpdb,Chibin/gpdb,pavanvd/postgres-xl,techdragon/Postgres-XL,pavanvd/postgres-xl,postmind-net/postgres-xl,ovr/postgres-xl,yuanzhao/gpdb