IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2006, 1:02:02 PM (20 years ago)
Author:
Paul Price
Message:

Fixing memory leaks and multiple frees

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmFPARead.c

    r6145 r6386  
    121121        psRegion *biassec = NULL;       // A BIASSEC region from the list
    122122        while ((biassec = psListGetAndIncrement(iter))) {
    123             psImage *overscan = psImageSubset(image, *biassec);
     123            psImage *overscan = psMemIncrRefCounter(psImageSubset(image, *biassec));
    124124            psListAdd(readout->bias, PS_LIST_TAIL, overscan);
    125125            psFree(overscan);
Note: See TracChangeset for help on using the changeset viewer.