IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 28, 2005, 7:04:10 AM (21 years ago)
Author:
eugene
Message:

cleanup memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/LocalSky.c

    r4630 r4642  
    2525    mySource->mask = subImageMask;
    2626    mySource->noise = subImageNoise;
     27    psFree (srcRegion);
    2728
    2829    return(mySource);
     
    4748    myStats = psImageStats(myStats, image, mask, 0xff);
    4849    psImageMaskRegion (mask, srcRegion, AND, 0x7f);
     50    psFree (srcRegion);
    4951
    5052    psF64 tmpF64;
     
    5456    source->moments = pmMomentsAlloc();
    5557    source->moments->Sky = (psF32) tmpF64;
    56 
    5758    return (true);
    5859}
Note: See TracChangeset for help on using the changeset viewer.