IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 1, 2012, 2:32:05 PM (14 years ago)
Author:
eugene
Message:

do not raise an error if we cannot find the XRAD, XFIT, XSRC extensions; do not attempt to tranform nan ellipses; plug possible leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryWCS.c

    r32808 r34271  
    565565    // free an existing toFPA structure
    566566    psFree (chip->toFPA);
     567    assert (chip->toFPA == NULL);
    567568    chip->toFPA = toFPA;
    568569
     
    571572
    572573    psFree (chip->fromFPA);
     574    assert (chip->fromFPA == NULL);
    573575    chip->fromFPA = psPlaneTransformInvert(NULL, chip->toFPA, *region, 50);
    574576    psFree (region);
     
    707709        psError(PS_ERR_UNKNOWN, false, "Unable to solve for TPA center.");
    708710        psFree (toTPA);
     711        psFree (tpa1);
    709712        psFree (wcs);
    710713        return NULL;
Note: See TracChangeset for help on using the changeset viewer.