IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2011, 11:00:22 AM (15 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/magic/remove/src/streaksio.c

    r30404 r32337  
    752752        return;
    753753    }
    754     psArray *table = psFitsReadTable(in->fits);
     754    psFitsTable *table = psFitsReadTableNew(in->fits);
    755755    if (!table) {
    756756        psError(PS_ERR_UNKNOWN, false, "failed to read table in extension %d from in->resolved name", extnum);
     
    758758    }
    759759
    760     if (!psFitsWriteTable(out->fits, out->header, table, extname)) {
     760    if (!psFitsWriteTableNew(out->fits, out->header, table, extname)) {
    761761        psError(PS_ERR_UNKNOWN, false, "failed to copy table in extension %d", extnum);
    762762        streaksExit("", PS_EXIT_DATA_ERROR);
    763763    }
     764    psFree(table);
    764765}
    765766
     
    839840    psFree(sfile->name);
    840841    psFree(sfile->resolved_name);
     842    psFree(sfile->fits);
    841843    psFree(sfile);
    842844}
     
    915917        sFileFree(sf->outWeight);
    916918        sFileFree(sf->recWeight);
     919    }
     920    if (sf->inSources) {
     921        sFileFree(sf->inSources);
     922        sFileFree(sf->outSources);
    917923    }
    918924}
     
    13011307                streaksExit("", PS_EXIT_UNKNOWN_ERROR);
    13021308            }
     1309            psFree(compress);
    13031310        } else {
    13041311            copyTable(out, in, extnum);
Note: See TracChangeset for help on using the changeset viewer.