IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 14, 2006, 3:11:21 PM (19 years ago)
Author:
Paul Price
Message:

Plugging memory leaks --- forgotten free in pmMaskIdentifyBadPixels, and was clobbering existing array in generateHDU.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.c

    r9981 r9986  
    148148    float mean = stats->sampleMean;     // Mean value
    149149    float stdev = stats->sampleStdev;   // Standard deviation
     150    psFree(stats);
    150151
    151152    psImage *badpix = psImageAlloc(suspects->numCols, suspects->numRows, PS_TYPE_MASK); // Bad pixel mask
Note: See TracChangeset for help on using the changeset viewer.