Fixes a free() problem under FreeBSD
Fixes a free() problem under FreeBSD

Fixed pointed out by: jwieck@debis.com (Jan Wieck)

0x0FFF/gpdb,arcivanov/postgres-xl,xuegang/gpdb,janebeckman/gpdb,tpostgres-projects/tPostgres,tangp3/gpdb,lpetrov-pivotal/gpdb,50wu/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,Quikling/gpdb,kaknikhil/gpdb,janebeckman/gpdb,lintzc/gpdb,rubikloud/gpdb,greenplum-db/gpdb,Chibin/gpdb,yuanzhao/gpdb,xinzweb/gpdb,jmcatamney/gpdb,foyzur/gpdb,rubikloud/gpdb,cjcjameson/gpdb,yazun/postgres-xl,cjcjameson/gpdb,jmcatamney/gpdb,kmjungersen/PostgresXL,ovr/postgres-xl,Quikling/gpdb,zeroae/postgres-xl,CraigHarris/gpdb,randomtask1155/gpdb,yuanzhao/gpdb,rvs/gpdb,ovr/postgres-xl,techdragon/Postgres-XL,greenplum-db/gpdb,jmcatamney/gpdb,royc1/gpdb,zaksoup/gpdb,lisakowen/gpdb,50wu/gpdb,postmind-net/postgres-xl,adam8157/gpdb,adam8157/gpdb,oberstet/postgres-xl,tpostgres-projects/tPostgres,arcivanov/postgres-xl,lpetrov-pivotal/gpdb,ahachete/gpdb,zaksoup/gpdb,Chibin/gpdb,rvs/gpdb,jmcatamney/gpdb,janebeckman/gpdb,techdragon/Postgres-XL,techdragon/Postgres-XL,snaga/postgres-xl,cjcjameson/gpdb,chrishajas/gpdb,0x0FFF/gpdb,ashwinstar/gpdb,lintzc/gpdb,chrishajas/gpdb,kmjungersen/PostgresXL,tangp3/gpdb,50wu/gpdb,kmjungersen/PostgresXL,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,atris/gpdb,xinzweb/gpdb,ovr/postgres-xl,kaknikhil/gpdb,edespino/gpdb,postmind-net/postgres-xl,ahachete/gpdb,tangp3/gpdb,chrishajas/gpdb,yazun/postgres-xl,cjcjameson/gpdb,rvs/gpdb,CraigHarris/gpdb,foyzur/gpdb,rubikloud/gpdb,foyzur/gpdb,postmind-net/postgres-xl,kmjungersen/PostgresXL,rvs/gpdb,oberstet/postgres-xl,edespino/gpdb,lisakowen/gpdb,xinzweb/gpdb,CraigHarris/gpdb,lisakowen/gpdb,Quikling/gpdb,zaksoup/gpdb,oberstet/postgres-xl,cjcjameson/gpdb,Chibin/gpdb,tangp3/gpdb,Chibin/gpdb,Chibin/gpdb,lintzc/gpdb,Chibin/gpdb,rvs/gpdb,greenplum-db/gpdb,xinzweb/gpdb,snaga/postgres-xl,janebeckman/gpdb,zeroae/postgres-xl,lisakowen/gpdb,lpetrov-pivotal/gpdb,pavanvd/postgres-xl,postmind-net/postgres-xl,lintzc/gpdb,CraigHarris/gpdb,Quikling/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,postmind-net/postgres-xl,edespino/gpdb,techdragon/Postgres-XL,ovr/postgres-xl,cjcjameson/gpdb,zaksoup/gpdb,yazun/postgres-xl,adam8157/gpdb,foyzur/gpdb,50wu/gpdb,kaknikhil/gpdb,lintzc/gpdb,snaga/postgres-xl,royc1/gpdb,zaksoup/gpdb,chrishajas/gpdb,atris/gpdb,royc1/gpdb,Postgres-XL/Postgres-XL,royc1/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,janebeckman/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,xinzweb/gpdb,Quikling/gpdb,CraigHarris/gpdb,zaksoup/gpdb,edespino/gpdb,zeroae/postgres-xl,tangp3/gpdb,oberstet/postgres-xl,tangp3/gpdb,yazun/postgres-xl,0x0FFF/gpdb,Quikling/gpdb,yuanzhao/gpdb,tangp3/gpdb,lpetrov-pivotal/gpdb,arcivanov/postgres-xl,rubikloud/gpdb,kmjungersen/PostgresXL,ashwinstar/gpdb,lpetrov-pivotal/gpdb,atris/gpdb,randomtask1155/gpdb,ahachete/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,yuanzhao/gpdb,xuegang/gpdb,chrishajas/gpdb,50wu/gpdb,randomtask1155/gpdb,randomtask1155/gpdb,xuegang/gpdb,rubikloud/gpdb,yuanzhao/gpdb,lintzc/gpdb,atris/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,foyzur/gpdb,Quikling/gpdb,snaga/postgres-xl,rvs/gpdb,jmcatamney/gpdb,atris/gpdb,arcivanov/postgres-xl,zeroae/postgres-xl,adam8157/gpdb,janebeckman/gpdb,pavanvd/postgres-xl,edespino/gpdb,lintzc/gpdb,pavanvd/postgres-xl,rubikloud/gpdb,zaksoup/gpdb,atris/gpdb,techdragon/Postgres-XL,tangp3/gpdb,xuegang/gpdb,lpetrov-pivotal/gpdb,edespino/gpdb,foyzur/gpdb,royc1/gpdb,xuegang/gpdb,zeroae/postgres-xl,0x0FFF/gpdb,ahachete/gpdb,edespino/gpdb,CraigHarris/gpdb,xinzweb/gpdb,snaga/postgres-xl,Quikling/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,greenplum-db/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,pavanvd/postgres-xl,50wu/gpdb,arcivanov/postgres-xl,royc1/gpdb,yuanzhao/gpdb,Chibin/gpdb,Chibin/gpdb,atris/gpdb,lpetrov-pivotal/gpdb,greenplum-db/gpdb,tpostgres-projects/tPostgres,Quikling/gpdb,xuegang/gpdb,adam8157/gpdb,janebeckman/gpdb,lisakowen/gpdb,lisakowen/gpdb,Chibin/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,ashwinstar/gpdb,0x0FFF/gpdb,zaksoup/gpdb,jmcatamney/gpdb,rvs/gpdb,foyzur/gpdb,rubikloud/gpdb,xuegang/gpdb,kaknikhil/gpdb,50wu/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,chrishajas/gpdb,jmcatamney/gpdb,edespino/gpdb,edespino/gpdb,Postgres-XL/Postgres-XL,janebeckman/gpdb,ashwinstar/gpdb,ahachete/gpdb,adam8157/gpdb,lintzc/gpdb,Quikling/gpdb,yazun/postgres-xl,rubikloud/gpdb,CraigHarris/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,rvs/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,xinzweb/gpdb,randomtask1155/gpdb,ahachete/gpdb,lisakowen/gpdb,CraigHarris/gpdb,lintzc/gpdb,rvs/gpdb,CraigHarris/gpdb,50wu/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,atris/gpdb,royc1/gpdb,janebeckman/gpdb,cjcjameson/gpdb,arcivanov/postgres-xl,xinzweb/gpdb,foyzur/gpdb,yuanzhao/gpdb,tpostgres-projects/tPostgres,chrishajas/gpdb,royc1/gpdb,rvs/gpdb,kaknikhil/gpdb,adam8157/gpdb,janebeckman/gpdb,lisakowen/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,ahachete/gpdb,adam8157/gpdb,chrishajas/gpdb,xuegang/gpdb,oberstet/postgres-xl,lpetrov-pivotal/gpdb,ahachete/gpdb,xuegang/gpdb,edespino/gpdb