Changeset 23753 for trunk/ppSub/src/ppSub.c
- Timestamp:
- Apr 8, 2009, 2:33:59 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSub.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSub.c
r23740 r23753 41 41 psErrorStackPrint(stderr, "Error initialising model classes.\n"); 42 42 exitValue = PS_EXIT_PROG_ERROR; 43 psFree(config); 43 44 goto die; 44 45 } … … 47 48 psErrorStackPrint(stderr, "Error initialising psphot.\n"); 48 49 exitValue = PS_EXIT_PROG_ERROR; 50 psFree(config); 49 51 goto die; 50 52 } 51 53 52 data = ppSubDataAlloc( ); // Processing data54 data = ppSubDataAlloc(config); 53 55 54 if (!ppSubArguments(argc, argv, config,data)) {56 if (!ppSubArguments(argc, argv, data)) { 55 57 psErrorStackPrint(stderr, "Error reading arguments.\n"); 56 58 exitValue = PS_EXIT_CONFIG_ERROR; … … 58 60 } 59 61 60 if (!ppSubCamera( config,data)) {62 if (!ppSubCamera(data)) { 61 63 psErrorStackPrint(stderr, "Error setting up camera.\n"); 62 64 exitValue = PS_EXIT_CONFIG_ERROR; … … 64 66 } 65 67 66 if (!ppSubLoop( config,data)) {68 if (!ppSubLoop(data)) { 67 69 psErrorStackPrint(stderr, "Error performing subtraction.\n"); 68 70 exitValue = PS_EXIT_SYS_ERROR; … … 75 77 76 78 psFree(data); 77 psFree(config);78 79 79 80 pmVisualClose(); //close plot windows, if -visual is set
Note:
See TracChangeset
for help on using the changeset viewer.
