Changeset 11113 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Jan 16, 2007, 12:21:17 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r11077 r11113 921 921 detProcessedImfileRow *object; 922 922 923 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );923 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16 ); 924 924 925 925 if (!object) { … … 967 967 exit(EXIT_FAILURE); 968 968 } 969 psFree(object); 970 exit(EXIT_FAILURE); 971 } 969 972 970 973 psFree(object); … … 974 977 detProcessedExpRow *object; 975 978 976 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );979 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16 ); 977 980 978 981 if (!object) { … … 1012 1015 exit(EXIT_FAILURE); 1013 1016 } 1017 psFree(object); 1018 exit(EXIT_FAILURE); 1019 } 1014 1020 1015 1021 psFree(object); … … 1019 1025 detStackedImfileRow *object; 1020 1026 1021 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64 );1027 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, -16 ); 1022 1028 1023 1029 if (!object) { … … 1057 1063 exit(EXIT_FAILURE); 1058 1064 } 1065 psFree(object); 1066 exit(EXIT_FAILURE); 1067 } 1059 1068 1060 1069 psFree(object); … … 1064 1073 detNormalizedStatImfileRow *object; 1065 1074 1066 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32 );1075 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16 ); 1067 1076 1068 1077 if (!object) { … … 1086 1095 exit(EXIT_FAILURE); 1087 1096 } 1097 psFree(object); 1098 exit(EXIT_FAILURE); 1099 } 1088 1100 1089 1101 psFree(object); … … 1093 1105 detNormalizedImfileRow *object; 1094 1106 1095 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1107 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16 ); 1096 1108 1097 1109 if (!object) { … … 1135 1147 exit(EXIT_FAILURE); 1136 1148 } 1149 psFree(object); 1150 exit(EXIT_FAILURE); 1151 } 1137 1152 1138 1153 psFree(object); … … 1142 1157 detNormalizedExpRow *object; 1143 1158 1144 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string" );1159 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string", -16 ); 1145 1160 1146 1161 if (!object) { … … 1180 1195 exit(EXIT_FAILURE); 1181 1196 } 1197 psFree(object); 1198 exit(EXIT_FAILURE); 1199 } 1182 1200 1183 1201 psFree(object); … … 1187 1205 detResidImfileRow *object; 1188 1206 1189 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1207 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16 ); 1190 1208 1191 1209 if (!object) { … … 1237 1255 exit(EXIT_FAILURE); 1238 1256 } 1257 psFree(object); 1258 exit(EXIT_FAILURE); 1259 } 1239 1260 1240 1261 psFree(object); … … 1244 1265 detResidExpRow *object; 1245 1266 1246 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true );1267 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true, -16 ); 1247 1268 1248 1269 if (!object) { … … 1290 1311 exit(EXIT_FAILURE); 1291 1312 } 1313 psFree(object); 1314 exit(EXIT_FAILURE); 1315 } 1292 1316 1293 1317 psFree(object); … … 1297 1321 detRunSummaryRow *object; 1298 1322 1299 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true );1323 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true, -16 ); 1300 1324 1301 1325 if (!object) { … … 1324 1348 } 1325 1349 if (!object->accept == true) { 1350 psFree(object); 1351 exit(EXIT_FAILURE); 1352 } 1326 1353 psFree(object); 1327 1354 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
