IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14952


Ignore:
Timestamp:
Sep 20, 2007, 2:35:55 PM (19 years ago)
Author:
eugene
Message:

plug leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotApResid.c

    r14944 r14952  
    189189    psFree (xPos);
    190190    psFree (yPos);
     191
    191192    psFree (apResid);
     193    psFree (apResidFit);
     194    psFree (apResidRes);
     195
     196    psFree (dMagSys);
    192197    psFree (dMag);
    193198
     
    269274    int Nx, Ny;
    270275       
    271     psStats *stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
    272     stats->min = 2.0;
    273     stats->max = 3.0;
    274 
    275276    if (readout->image->numCols > readout->image->numRows) {
    276277        Nx = scale;
     
    285286    }
    286287
     288    // XXX stats structure for use by ApTrend : make parameters user setable
     289    psStats *stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
     290    stats->min = 2.0;
     291    stats->max = 3.0;
     292
    287293    // measure Trend2D for the current spatial scale
    288294    psFree (psf->ApTrend);
Note: See TracChangeset for help on using the changeset viewer.