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/pmReadout.c

    r6062 r6386  
    1717    psRegion *region = NULL;            // Bias region from list
    1818    while ((region = psListGetAndIncrement(sectionsIter))) {
    19         psImage *bias = psImageSubset(image, *region); // Image from bias section
     19        psImage *bias = psMemIncrRefCounter(psImageSubset(image, *region)); // Image from bias section
    2020        psListAdd(images, PS_LIST_TAIL, bias);
    2121        psFree(bias);
Note: See TracChangeset for help on using the changeset viewer.