Changeset 10120 for trunk/ippTools/src/pzgetimfilesConfig.c
- Timestamp:
- Nov 20, 2006, 7:12:27 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pzgetimfilesConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pzgetimfilesConfig.c
r9392 r10120 38 38 if (! config->modules) { 39 39 psError(PS_ERR_UNKNOWN, false, "Can't find site configuration!\n"); 40 exit(EXIT_FAILURE);40 goto FAIL; 41 41 } 42 42 … … 62 62 printf("Usage: %s -uri <uri> -filesetid <id>\n\n", argv[0]); 63 63 psArgumentHelp(args); 64 psFree( config);65 exit(EXIT_FAILURE);64 psFree(args); 65 goto FAIL; 66 66 } 67 67 … … 74 74 if(!config->dbh) { 75 75 psError(PS_ERR_UNKNOWN, false, "Can't connect to db\n"); 76 psFree(config); 77 exit(EXIT_FAILURE); 76 goto FAIL; 78 77 } 79 78 80 79 return config; 80 81 FAIL: 82 psFree(config); 83 pmConfigDone(); 84 psLibFinalize(); 85 exit(EXIT_FAILURE); 81 86 }
Note:
See TracChangeset
for help on using the changeset viewer.
