Changeset 11841 for trunk/ippTools/src/pxadminConfig.c
- Timestamp:
- Feb 15, 2007, 3:48:16 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxadminConfig.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxadminConfig.c
r11840 r11841 38 38 if (!config->modules) { 39 39 psError(PS_ERR_UNKNOWN, false, "Can't find site configuration"); 40 goto FAIL; 40 psFree(config); 41 return NULL; 41 42 } 42 43 … … 80 81 psArgumentHelp(arguments); 81 82 psFree(arguments); 82 goto FAIL; 83 psFree(config); 84 return NULL; 83 85 } 84 86 … … 86 88 psArgumentHelp(arguments); 87 89 psFree(arguments); 88 goto FAIL; 90 psFree(config); 91 return NULL; 89 92 } 90 93 … … 95 98 psArgumentHelp(arguments); 96 99 psFree(arguments); 97 goto FAIL; 100 psFree(config); 101 return NULL; 98 102 } 99 103 … … 104 108 if (!config->dbh) { 105 109 psError(PS_ERR_UNKNOWN, false, "Can't configure database"); 106 goto FAIL; 110 psFree(config); 111 return NULL; 107 112 } 108 113 … … 112 117 113 118 return config; 114 115 FAIL:116 psFree(config);117 return NULL;118 119 } 119 120 /*121 * USAGE:122 * p2admin -create : create the P2 tables123 * p2admin -delete : delete the P2 tables (asks for confirmation)124 */
Note:
See TracChangeset
for help on using the changeset viewer.
