Ensure that resources are freed before reusing pointers
Ensure that resources are freed before reusing pointers

On the first iteration we know the structs are empty, but when coming
into create_gang_retry we must ensure that they have been freed. Move
to Assertions rather than setting NULL since that's already performed
before returning to the retry label.

Initially per a false positive gripe in Coverity.

Chibin/gpdb,janebeckman/gpdb,janebeckman/gpdb,lisakowen/gpdb,lisakowen/gpdb,Quikling/gpdb,Quikling/gpdb,janebeckman/gpdb,edespino/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,janebeckman/gpdb,lisakowen/gpdb,lisakowen/gpdb,xinzweb/gpdb,Quikling/gpdb,xinzweb/gpdb,ashwinstar/gpdb,lintzc/gpdb,xinzweb/gpdb,Quikling/gpdb,50wu/gpdb,rvs/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,janebeckman/gpdb,rvs/gpdb,Chibin/gpdb,ashwinstar/gpdb,edespino/gpdb,cjcjameson/gpdb,lisakowen/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,janebeckman/gpdb,Chibin/gpdb,Chibin/gpdb,greenplum-db/gpdb,Quikling/gpdb,rvs/gpdb,lintzc/gpdb,lintzc/gpdb,Chibin/gpdb,Chibin/gpdb,greenplum-db/gpdb,rvs/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,jmcatamney/gpdb,rvs/gpdb,adam8157/gpdb,cjcjameson/gpdb,rvs/gpdb,lintzc/gpdb,adam8157/gpdb,Quikling/gpdb,50wu/gpdb,yuanzhao/gpdb,rvs/gpdb,Quikling/gpdb,xinzweb/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,rvs/gpdb,50wu/gpdb,janebeckman/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,lintzc/gpdb,Quikling/gpdb,kaknikhil/gpdb,edespino/gpdb,ashwinstar/gpdb,janebeckman/gpdb,50wu/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,Quikling/gpdb,xinzweb/gpdb,greenplum-db/gpdb,adam8157/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,edespino/gpdb,jmcatamney/gpdb,adam8157/gpdb,lisakowen/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,adam8157/gpdb,50wu/gpdb,lintzc/gpdb,Chibin/gpdb,rvs/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,edespino/gpdb,50wu/gpdb,Chibin/gpdb,yuanzhao/gpdb,rvs/gpdb,cjcjameson/gpdb,edespino/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,xinzweb/gpdb,edespino/gpdb,jmcatamney/gpdb,Chibin/gpdb,edespino/gpdb,edespino/gpdb,lisakowen/gpdb,50wu/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,lintzc/gpdb,Chibin/gpdb,janebeckman/gpdb,50wu/gpdb,ashwinstar/gpdb,adam8157/gpdb,janebeckman/gpdb,adam8157/gpdb,lisakowen/gpdb,cjcjameson/gpdb,lintzc/gpdb,xinzweb/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,lintzc/gpdb,edespino/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,Quikling/gpdb,xinzweb/gpdb,adam8157/gpdb