IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25141


Ignore:
Timestamp:
Aug 20, 2009, 9:56:24 AM (17 years ago)
Author:
eugene
Message:

plug possible leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090820/psphot/src/psphotDeblendSatstars.c

    r24889 r25141  
    4949        psVector *xVec = contour->data[0];
    5050        psVector *yVec = contour->data[1];
    51         if (xVec->n < 5) continue;
     51        if (xVec->n < 5) {
     52            psFree(contour);
     53            continue;
     54        }
    5255
    5356        // find the center of the contour (let's just use mid[x,y])
Note: See TracChangeset for help on using the changeset viewer.