IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14951


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

plug leak

Location:
branches/eam_branch_20070830/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20070830/psphot/src/psphotApResid.c

    r14919 r14951  
    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);
  • branches/eam_branch_20070830/psphot/src/psphotMosaicSubimage.c

    r12792 r14951  
    4141    psImageOverlaySection (outImage, newImage, Xo, Yo, "=");
    4242
     43    psFree (subImage);
    4344    psFree (newImage);
    4445    return true;
Note: See TracChangeset for help on using the changeset viewer.