IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25523


Ignore:
Timestamp:
Sep 23, 2009, 5:29:09 PM (17 years ago)
Author:
eugene
Message:

plug leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psModules/src/objects/pmPSFtryModel.c

    r25476 r25523  
    141141        if (psfTry->psf->dApResid < minPSF->dApResid) {
    142142            psFree (minPSF);
     143            psFree (minMask);
    143144            minPSF = psMemIncrRefCounter(psfTry->psf);
    144             psFree (minMask);
    145145            minMask = psMemIncrRefCounter(psfTry->mask);
    146146        }
     
    150150    // keep the ones matching the min systematic error:
    151151    psFree (psfTry->psf);
    152     psfTry->psf = psMemIncrRefCounter(minPSF);
    153152    psFree (psfTry->mask);
    154     psfTry->mask = psMemIncrRefCounter(minMask);
     153    psfTry->psf = minPSF;
     154    psfTry->mask = minMask;
    155155   
    156156    // XXXXX this is probably not used any more.  Are the chisq of the fits so bad? can we
Note: See TracChangeset for help on using the changeset viewer.