- Timestamp:
- Sep 6, 2011, 11:00:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/magic/remove/src/streaksio.c
r30404 r32337 752 752 return; 753 753 } 754 ps Array *table = psFitsReadTable(in->fits);754 psFitsTable *table = psFitsReadTableNew(in->fits); 755 755 if (!table) { 756 756 psError(PS_ERR_UNKNOWN, false, "failed to read table in extension %d from in->resolved name", extnum); … … 758 758 } 759 759 760 if (!psFitsWriteTable (out->fits, out->header, table, extname)) {760 if (!psFitsWriteTableNew(out->fits, out->header, table, extname)) { 761 761 psError(PS_ERR_UNKNOWN, false, "failed to copy table in extension %d", extnum); 762 762 streaksExit("", PS_EXIT_DATA_ERROR); 763 763 } 764 psFree(table); 764 765 } 765 766 … … 839 840 psFree(sfile->name); 840 841 psFree(sfile->resolved_name); 842 psFree(sfile->fits); 841 843 psFree(sfile); 842 844 } … … 915 917 sFileFree(sf->outWeight); 916 918 sFileFree(sf->recWeight); 919 } 920 if (sf->inSources) { 921 sFileFree(sf->inSources); 922 sFileFree(sf->outSources); 917 923 } 918 924 } … … 1301 1307 streaksExit("", PS_EXIT_UNKNOWN_ERROR); 1302 1308 } 1309 psFree(compress); 1303 1310 } else { 1304 1311 copyTable(out, in, extnum);
Note:
See TracChangeset
for help on using the changeset viewer.
