Handle freeing the columns array correctly. The columns pointer in the compress/decompress_hdu functions was never being pointed to the allocated array and was thus always NULL. But we also need to make sure to use PyMem_Free on before calling fits_close_file(), as it was allocated with PyMem_New (then set it to NULL so that fits_close_file() doesn't try to double-free it).
Handle freeing the columns array correctly. The columns pointer in the compress/decompress_hdu functions was never being pointed to the allocated array and was thus always NULL. But we also need to make sure to use PyMem_Free on before calling fits_close_file(), as it was allocated with PyMem_New (then set it to NULL so that fits_close_file() doesn't try to double-free it).

git-svn-id: 5305e2c1a78737cf7dd5f8f44e9bbbd00348fde7@2258 ed100bfc-0583-0410-97f2-c26b58777a21

astropy/astropy,joergdietrich/astropy,astropy/astropy,astropy/astropy,MSeifert04/astropy,saimn/astropy,bsipocz/astropy,stargaser/astropy,larrybradley/astropy,bsipocz/astropy,kelle/astropy,stargaser/astropy,dhomeier/astropy,lpsinger/astropy,funbaker/astropy,pllim/astropy,mhvk/astropy,saimn/astropy,aleksandr-bakanov/astropy,kelle/astropy,mhvk/astropy,joergdietrich/astropy,bsipocz/astropy,mhvk/astropy,MSeifert04/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,saimn/astropy,dhomeier/astropy,saimn/astropy,MSeifert04/astropy,dhomeier/astropy,lpsinger/astropy,kelle/astropy,astropy/astropy,aleksandr-bakanov/astropy,pllim/astropy,joergdietrich/astropy,larrybradley/astropy,tbabej/astropy,stargaser/astropy,tbabej/astropy,stargaser/astropy,lpsinger/astropy,tbabej/astropy,AustereCuriosity/astropy,joergdietrich/astropy,pllim/astropy,dhomeier/astropy,DougBurke/astropy,joergdietrich/astropy,saimn/astropy,AustereCuriosity/astropy,StuartLittlefair/astropy,funbaker/astropy,tbabej/astropy,aleksandr-bakanov/astropy,DougBurke/astropy,lpsinger/astropy,pllim/astropy,AustereCuriosity/astropy,MSeifert04/astropy,AustereCuriosity/astropy,StuartLittlefair/astropy,tbabej/astropy,lpsinger/astropy,DougBurke/astropy,StuartLittlefair/astropy,funbaker/astropy,larrybradley/astropy,bsipocz/astropy,pllim/astropy,mhvk/astropy,mhvk/astropy,AustereCuriosity/astropy,kelle/astropy,StuartLittlefair/astropy,astropy/astropy,DougBurke/astropy,larrybradley/astropy,dhomeier/astropy,kelle/astropy,StuartLittlefair/astropy,funbaker/astropy