IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20773


Ignore:
Timestamp:
Nov 16, 2008, 4:42:28 PM (17 years ago)
Author:
eugene
Message:

plug memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageDetrendRecord.c

    r20455 r20773  
    6666    psMetadata *detrend = psMetadataAlloc(); // Detrend information
    6767    psMetadataAddMetadata(cell->analysis, PS_LIST_TAIL, "DETREND", 0, "Detrend information", detrend);
     68
    6869    detrendRecord(options->doMask, detrend, config, view, "PPIMAGE.MASK", "DETREND.MASK", "Mask filename");
    6970    detrendRecord(options->doBias, detrend, config, view, "PPIMAGE.BIAS", "DETREND.BIAS", "Bias filename");
     
    7475    detrendRecord(options->doFringe, detrend, config, view, "PPIMAGE.FRINGE", "DETREND.FRINGE",
    7576                  "Fringe filename");
     77
     78    psFree (detrend);
    7679    return true;
    7780}
Note: See TracChangeset for help on using the changeset viewer.