Changeset 13835
- Timestamp:
- Jun 14, 2007, 2:46:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadoutCleanup.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadoutCleanup.c
r13831 r13835 20 20 psErrorClear(); 21 21 } 22 if (psErrorCodeLast() != PS_ERR_NONE) return false; 22 if (psErrorCodeLast() != PS_ERR_NONE) { 23 psFree (psf); 24 psFree (sources); 25 return false; 26 } 23 27 24 28 // use the psf-model to measure FWHM stats … … 26 30 if (!psphotPSFstats (readout, recipe, psf)) { 27 31 psError(PSPHOT_ERR_PROG, false, "Failed to measure PSF shape parameters"); 32 psFree (psf); 33 psFree (sources); 28 34 return false; 29 35 } … … 33 39 if (!psphotMomentsStats (readout, recipe, sources)) { 34 40 psError(PSPHOT_ERR_PROG, false, "Failed to measure Moment shape parameters"); 41 psFree (sources); 35 42 return false; 36 43 } … … 59 66 } 60 67 61 // XXX move this to top of loop 68 // XXX move this to top of loop? 62 69 pmKapaClose (); 63 70
Note:
See TracChangeset
for help on using the changeset viewer.
