Changeset 14547 for branches/eam_branch_20070817/ppSim/src/ppSimCreate.c
- Timestamp:
- Aug 19, 2007, 4:21:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20070817/ppSim/src/ppSimCreate.c
r14531 r14547 12 12 13 13 pmFPAfile *file = pmFPAfileDefineOutput(config, fpa, OUTPUT_FILE); 14 psFree(fpa);15 14 if (!file) { 16 15 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to create output file from %s. " … … 20 19 if (file->type != PM_FPA_FILE_IMAGE) { 21 20 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "%s type is not IMAGE", OUTPUT_FILE); 21 psFree(fpa); 22 22 psFree(file); 23 23 return NULL; … … 31 31 if (!status) { 32 32 psError(PS_ERR_UNKNOWN, false, "Failed to find/build PSPHOT.PSF.LOAD"); 33 return status; 33 psFree(fpa); 34 psFree(file); 35 return NULL; 34 36 } 35 37 } … … 44 46 psFree(fpa); 45 47 psFree(view); 48 psFree(file); 46 49 return NULL; 47 50 } … … 55 58 psFree(fpa); 56 59 psFree(view); 60 psFree(file); 57 61 return NULL; 58 62 } … … 66 70 psFree(fpa); 67 71 psFree(view); 72 psFree(file); 68 73 return NULL; 69 74 } … … 71 76 } 72 77 } 78 79 psFree(fpa); 73 80 psFree(view); 74 81
Note:
See TracChangeset
for help on using the changeset viewer.
