IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18037


Ignore:
Timestamp:
Jun 9, 2008, 3:31:15 PM (18 years ago)
Author:
eugene
Message:

plug leak

File:
1 edited

Legend:

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

    r17865 r18037  
    1313    if (!status) {
    1414        psError(PSPHOT_ERR_PROG, false, "trouble dropping internal files");
     15        psFree (psf);
     16        psFree (sources);
     17        psFree (detections);
    1518        return false;
    1619    }
     
    2326        psFree (psf);
    2427        psFree (sources);
     28        psFree (detections);
    2529        return false;
    2630    }
     
    3236            psFree (psf);
    3337            psFree (sources);
     38            psFree (detections);
    3439            return false;
    3540        }
     
    3944        if (!psphotMomentsStats (readout, recipe, sources)) {
    4045            psError(PSPHOT_ERR_PROG, false, "Failed to measure Moment shape parameters");
     46            psFree (psf);
    4147            psFree (sources);
     48            psFree (detections);
    4249            return false;
    4350        }
Note: See TracChangeset for help on using the changeset viewer.