Changeset 41510 for trunk/pswarp/src/pswarpCleanup.c
- Timestamp:
- Mar 3, 2021, 3:05:40 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpCleanup.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpCleanup.c
r37053 r41510 14 14 // Lists of file rules which we may need to save here 15 15 static char *outputFiles[] = { 16 "PSWARP.OUTPUT",17 "PSWARP.OUTPUT.MASK",18 "PSWARP.OUTPUT.VARIANCE",19 "PSWARP.OUTPUT.BKGMODEL",20 "PSWARP.OUTPUT.SOURCES",21 "PSPHOT.OUTPUT",22 "PSPHOT.RESID",23 "PSPHOT.BACKMDL",24 "PSPHOT.BACKMDL.STDEV",25 "PSPHOT.BACKGND",26 "PSPHOT.BACKSUB",27 "PSPHOT.PSF.SAVE",28 "SOURCE.PLOT.MOMENTS",29 "SOURCE.PLOT.PSFMODEL",30 "SOURCE.PLOT.APRESID",31 NULL16 "PSWARP.OUTPUT", 17 "PSWARP.OUTPUT.MASK", 18 "PSWARP.OUTPUT.VARIANCE", 19 "PSWARP.OUTPUT.BKGMODEL", 20 "PSWARP.OUTPUT.SOURCES", 21 "PSPHOT.OUTPUT", 22 "PSPHOT.RESID", 23 "PSPHOT.BACKMDL", 24 "PSPHOT.BACKMDL.STDEV", 25 "PSPHOT.BACKGND", 26 "PSPHOT.BACKSUB", 27 "PSPHOT.PSF.SAVE", 28 "SOURCE.PLOT.MOMENTS", 29 "SOURCE.PLOT.PSFMODEL", 30 "SOURCE.PLOT.APRESID", 31 NULL 32 32 }; 33 33 … … 53 53 psError(psErrorCodeLast(), false, "Unable to read files."); 54 54 pmFPAfileFreeSetStrict(false); 55 psFree(view); 55 56 goto DONE; 56 57 } … … 63 64 psError(psErrorCodeLast(), false, "Unable to read files."); 64 65 pmFPAfileFreeSetStrict(false); 66 psFree(view); 65 67 goto DONE; 66 68 } … … 73 75 psError(psErrorCodeLast(), false, "Unable to read files."); 74 76 pmFPAfileFreeSetStrict(false); 77 psFree(view); 75 78 goto DONE; 76 79 } … … 79 82 psError(psErrorCodeLast(), false, "Unable to write files."); 80 83 pmFPAfileFreeSetStrict(false); 84 psFree(view); 81 85 goto DONE; 82 86 } … … 85 89 psError(psErrorCodeLast(), false, "Unable to write files."); 86 90 pmFPAfileFreeSetStrict(false); 91 psFree(view); 87 92 goto DONE; 88 93 } … … 116 121 psLibFinalize(); 117 122 123 psMemBlock **memblocks; 124 int Nleaks = psMemCheckLeaks (0, &memblocks, stderr, false); 125 fprintf (stderr, "Found %d leaks at %s\n", Nleaks, "ppImage"); 126 118 127 DONE: 119 128 exitValue = pswarpExitCode(exitValue);
Note:
See TracChangeset
for help on using the changeset viewer.
