Changeset 11113 for trunk/ippdb/tests
- Timestamp:
- Jan 16, 2007, 12:21:17 PM (20 years ago)
- Location:
- trunk/ippdb/tests
- Files:
-
- 5 edited
-
alloc.c (modified) (18 diffs)
-
insert.c (modified) (1 diff)
-
insertobject.c (modified) (9 diffs)
-
metadatafromobject.c (modified) (18 diffs)
-
objectfrommetadata.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); -
trunk/ippdb/tests/insert.c
r11077 r11113 343 343 } 344 344 345 if (!detProcessedImfileInsert(dbh, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" )) {346 exit(EXIT_FAILURE); 347 } 348 349 psDBCleanup(dbh); 350 } 351 352 { 353 psDB *dbh; 354 355 dbh = psDBInit("localhost", "test", NULL, "test"); 356 if (!dbh) { 357 exit(EXIT_FAILURE); 358 } 359 360 if (!detProcessedExpInsert(dbh, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" )) {361 exit(EXIT_FAILURE); 362 } 363 364 psDBCleanup(dbh); 365 } 366 367 { 368 psDB *dbh; 369 370 dbh = psDBInit("localhost", "test", NULL, "test"); 371 if (!dbh) { 372 exit(EXIT_FAILURE); 373 } 374 375 if (!detStackedImfileInsert(dbh, -32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64 )) {376 exit(EXIT_FAILURE); 377 } 378 379 psDBCleanup(dbh); 380 } 381 382 { 383 psDB *dbh; 384 385 dbh = psDBInit("localhost", "test", NULL, "test"); 386 if (!dbh) { 387 exit(EXIT_FAILURE); 388 } 389 390 if (!detNormalizedStatImfileInsert(dbh, -32, -32, "a string", 32.32 )) {391 exit(EXIT_FAILURE); 392 } 393 394 psDBCleanup(dbh); 395 } 396 397 { 398 psDB *dbh; 399 400 dbh = psDBInit("localhost", "test", NULL, "test"); 401 if (!dbh) { 402 exit(EXIT_FAILURE); 403 } 404 405 if (!detNormalizedImfileInsert(dbh, -32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" )) {406 exit(EXIT_FAILURE); 407 } 408 409 psDBCleanup(dbh); 410 } 411 412 { 413 psDB *dbh; 414 415 dbh = psDBInit("localhost", "test", NULL, "test"); 416 if (!dbh) { 417 exit(EXIT_FAILURE); 418 } 419 420 if (!detNormalizedExpInsert(dbh, -32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string" )) {421 exit(EXIT_FAILURE); 422 } 423 424 psDBCleanup(dbh); 425 } 426 427 { 428 psDB *dbh; 429 430 dbh = psDBInit("localhost", "test", NULL, "test"); 431 if (!dbh) { 432 exit(EXIT_FAILURE); 433 } 434 435 if (!detResidImfileInsert(dbh, -32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" )) {436 exit(EXIT_FAILURE); 437 } 438 439 psDBCleanup(dbh); 440 } 441 442 { 443 psDB *dbh; 444 445 dbh = psDBInit("localhost", "test", NULL, "test"); 446 if (!dbh) { 447 exit(EXIT_FAILURE); 448 } 449 450 if (!detResidExpInsert(dbh, -32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true )) {451 exit(EXIT_FAILURE); 452 } 453 454 psDBCleanup(dbh); 455 } 456 457 { 458 psDB *dbh; 459 460 dbh = psDBInit("localhost", "test", NULL, "test"); 461 if (!dbh) { 462 exit(EXIT_FAILURE); 463 } 464 465 if (!detRunSummaryInsert(dbh, -32, -32, 64.64, 64.64, 64.64, true )) {345 if (!detProcessedImfileInsert(dbh, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16)) { 346 exit(EXIT_FAILURE); 347 } 348 349 psDBCleanup(dbh); 350 } 351 352 { 353 psDB *dbh; 354 355 dbh = psDBInit("localhost", "test", NULL, "test"); 356 if (!dbh) { 357 exit(EXIT_FAILURE); 358 } 359 360 if (!detProcessedExpInsert(dbh, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16)) { 361 exit(EXIT_FAILURE); 362 } 363 364 psDBCleanup(dbh); 365 } 366 367 { 368 psDB *dbh; 369 370 dbh = psDBInit("localhost", "test", NULL, "test"); 371 if (!dbh) { 372 exit(EXIT_FAILURE); 373 } 374 375 if (!detStackedImfileInsert(dbh, -32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, -16)) { 376 exit(EXIT_FAILURE); 377 } 378 379 psDBCleanup(dbh); 380 } 381 382 { 383 psDB *dbh; 384 385 dbh = psDBInit("localhost", "test", NULL, "test"); 386 if (!dbh) { 387 exit(EXIT_FAILURE); 388 } 389 390 if (!detNormalizedStatImfileInsert(dbh, -32, -32, "a string", 32.32, -16)) { 391 exit(EXIT_FAILURE); 392 } 393 394 psDBCleanup(dbh); 395 } 396 397 { 398 psDB *dbh; 399 400 dbh = psDBInit("localhost", "test", NULL, "test"); 401 if (!dbh) { 402 exit(EXIT_FAILURE); 403 } 404 405 if (!detNormalizedImfileInsert(dbh, -32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16)) { 406 exit(EXIT_FAILURE); 407 } 408 409 psDBCleanup(dbh); 410 } 411 412 { 413 psDB *dbh; 414 415 dbh = psDBInit("localhost", "test", NULL, "test"); 416 if (!dbh) { 417 exit(EXIT_FAILURE); 418 } 419 420 if (!detNormalizedExpInsert(dbh, -32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string", -16)) { 421 exit(EXIT_FAILURE); 422 } 423 424 psDBCleanup(dbh); 425 } 426 427 { 428 psDB *dbh; 429 430 dbh = psDBInit("localhost", "test", NULL, "test"); 431 if (!dbh) { 432 exit(EXIT_FAILURE); 433 } 434 435 if (!detResidImfileInsert(dbh, -32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16)) { 436 exit(EXIT_FAILURE); 437 } 438 439 psDBCleanup(dbh); 440 } 441 442 { 443 psDB *dbh; 444 445 dbh = psDBInit("localhost", "test", NULL, "test"); 446 if (!dbh) { 447 exit(EXIT_FAILURE); 448 } 449 450 if (!detResidExpInsert(dbh, -32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true, -16)) { 451 exit(EXIT_FAILURE); 452 } 453 454 psDBCleanup(dbh); 455 } 456 457 { 458 psDB *dbh; 459 460 dbh = psDBInit("localhost", "test", NULL, "test"); 461 if (!dbh) { 462 exit(EXIT_FAILURE); 463 } 464 465 if (!detRunSummaryInsert(dbh, -32, -32, 64.64, 64.64, 64.64, true, -16)) { 466 466 exit(EXIT_FAILURE); 467 467 } -
trunk/ippdb/tests/insertobject.c
r11077 r11113 498 498 } 499 499 500 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );500 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 501 501 if (!object) { 502 502 exit(EXIT_FAILURE); … … 520 520 } 521 521 522 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );522 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 523 523 if (!object) { 524 524 exit(EXIT_FAILURE); … … 542 542 } 543 543 544 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64 );544 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, -16); 545 545 if (!object) { 546 546 exit(EXIT_FAILURE); … … 564 564 } 565 565 566 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32 );566 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16); 567 567 if (!object) { 568 568 exit(EXIT_FAILURE); … … 586 586 } 587 587 588 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );588 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 589 589 if (!object) { 590 590 exit(EXIT_FAILURE); … … 608 608 } 609 609 610 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string" );610 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 611 611 if (!object) { 612 612 exit(EXIT_FAILURE); … … 630 630 } 631 631 632 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );632 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 633 633 if (!object) { 634 634 exit(EXIT_FAILURE); … … 652 652 } 653 653 654 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true );654 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true, -16); 655 655 if (!object) { 656 656 exit(EXIT_FAILURE); … … 674 674 } 675 675 676 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true );676 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true, -16); 677 677 if (!object) { 678 678 exit(EXIT_FAILURE); -
trunk/ippdb/tests/metadatafromobject.c
r11077 r11113 1099 1099 bool status; 1100 1100 1101 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1101 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1102 1102 if (!object) { 1103 1103 exit(EXIT_FAILURE); … … 1151 1151 exit(EXIT_FAILURE); 1152 1152 } 1153 psFree(md); 1154 exit(EXIT_FAILURE); 1155 } 1153 1156 1154 1157 psFree(md); … … 1160 1163 bool status; 1161 1164 1162 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1165 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1163 1166 if (!object) { 1164 1167 exit(EXIT_FAILURE); … … 1204 1207 exit(EXIT_FAILURE); 1205 1208 } 1209 psFree(md); 1210 exit(EXIT_FAILURE); 1211 } 1206 1212 1207 1213 psFree(md); … … 1213 1219 bool status; 1214 1220 1215 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64 );1221 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64, -16); 1216 1222 if (!object) { 1217 1223 exit(EXIT_FAILURE); … … 1257 1263 exit(EXIT_FAILURE); 1258 1264 } 1265 psFree(md); 1266 exit(EXIT_FAILURE); 1267 } 1259 1268 1260 1269 psFree(md); … … 1266 1275 bool status; 1267 1276 1268 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32 );1277 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16); 1269 1278 if (!object) { 1270 1279 exit(EXIT_FAILURE); … … 1294 1303 exit(EXIT_FAILURE); 1295 1304 } 1305 psFree(md); 1306 exit(EXIT_FAILURE); 1307 } 1296 1308 1297 1309 psFree(md); … … 1303 1315 bool status; 1304 1316 1305 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1317 object = detNormalizedImfileRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1306 1318 if (!object) { 1307 1319 exit(EXIT_FAILURE); … … 1351 1363 exit(EXIT_FAILURE); 1352 1364 } 1365 psFree(md); 1366 exit(EXIT_FAILURE); 1367 } 1353 1368 1354 1369 psFree(md); … … 1360 1375 bool status; 1361 1376 1362 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string" );1377 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1363 1378 if (!object) { 1364 1379 exit(EXIT_FAILURE); … … 1404 1419 exit(EXIT_FAILURE); 1405 1420 } 1421 psFree(md); 1422 exit(EXIT_FAILURE); 1423 } 1406 1424 1407 1425 psFree(md); … … 1413 1431 bool status; 1414 1432 1415 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string" );1433 object = detResidImfileRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -16); 1416 1434 if (!object) { 1417 1435 exit(EXIT_FAILURE); … … 1469 1487 exit(EXIT_FAILURE); 1470 1488 } 1489 psFree(md); 1490 exit(EXIT_FAILURE); 1491 } 1471 1492 1472 1493 psFree(md); … … 1478 1499 bool status; 1479 1500 1480 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true );1501 object = detResidExpRowAlloc(-32, -32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", true, -16); 1481 1502 if (!object) { 1482 1503 exit(EXIT_FAILURE); … … 1530 1551 exit(EXIT_FAILURE); 1531 1552 } 1553 psFree(md); 1554 exit(EXIT_FAILURE); 1555 } 1532 1556 1533 1557 psFree(md); … … 1539 1563 bool status; 1540 1564 1541 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true );1565 object = detRunSummaryRowAlloc(-32, -32, 64.64, 64.64, 64.64, true, -16); 1542 1566 if (!object) { 1543 1567 exit(EXIT_FAILURE); … … 1572 1596 } 1573 1597 if (!psMetadataLookupBool(&status, md, "accept") == true) { 1598 psFree(md); 1599 exit(EXIT_FAILURE); 1600 } 1574 1601 psFree(md); 1575 1602 exit(EXIT_FAILURE); -
trunk/ippdb/tests/objectfrommetadata.c
r11077 r11113 1697 1697 exit(EXIT_FAILURE); 1698 1698 } 1699 psFree(md); 1700 exit(EXIT_FAILURE); 1701 } 1699 1702 1700 1703 object = detProcessedImfileObjectFromMetadata(md); … … 1746 1749 exit(EXIT_FAILURE); 1747 1750 } 1751 psFree(object); 1752 exit(EXIT_FAILURE); 1753 } 1748 1754 1749 1755 psFree(object); … … 1787 1793 exit(EXIT_FAILURE); 1788 1794 } 1795 psFree(md); 1796 exit(EXIT_FAILURE); 1797 } 1789 1798 1790 1799 object = detProcessedExpObjectFromMetadata(md); … … 1828 1837 exit(EXIT_FAILURE); 1829 1838 } 1839 psFree(object); 1840 exit(EXIT_FAILURE); 1841 } 1830 1842 1831 1843 psFree(object); … … 1869 1881 exit(EXIT_FAILURE); 1870 1882 } 1883 psFree(md); 1884 exit(EXIT_FAILURE); 1885 } 1871 1886 1872 1887 object = detStackedImfileObjectFromMetadata(md); … … 1910 1925 exit(EXIT_FAILURE); 1911 1926 } 1927 psFree(object); 1928 exit(EXIT_FAILURE); 1929 } 1912 1930 1913 1931 psFree(object); … … 1935 1953 exit(EXIT_FAILURE); 1936 1954 } 1955 psFree(md); 1956 exit(EXIT_FAILURE); 1957 } 1937 1958 1938 1959 object = detNormalizedStatImfileObjectFromMetadata(md); … … 1960 1981 exit(EXIT_FAILURE); 1961 1982 } 1983 psFree(object); 1984 exit(EXIT_FAILURE); 1985 } 1962 1986 1963 1987 psFree(object); … … 2005 2029 exit(EXIT_FAILURE); 2006 2030 } 2031 psFree(md); 2032 exit(EXIT_FAILURE); 2033 } 2007 2034 2008 2035 object = detNormalizedImfileObjectFromMetadata(md); … … 2050 2077 exit(EXIT_FAILURE); 2051 2078 } 2079 psFree(object); 2080 exit(EXIT_FAILURE); 2081 } 2052 2082 2053 2083 psFree(object); … … 2091 2121 exit(EXIT_FAILURE); 2092 2122 } 2123 psFree(md); 2124 exit(EXIT_FAILURE); 2125 } 2093 2126 2094 2127 object = detNormalizedExpObjectFromMetadata(md); … … 2132 2165 exit(EXIT_FAILURE); 2133 2166 } 2167 psFree(object); 2168 exit(EXIT_FAILURE); 2169 } 2134 2170 2135 2171 psFree(object); … … 2185 2221 exit(EXIT_FAILURE); 2186 2222 } 2223 psFree(md); 2224 exit(EXIT_FAILURE); 2225 } 2187 2226 2188 2227 object = detResidImfileObjectFromMetadata(md); … … 2238 2277 exit(EXIT_FAILURE); 2239 2278 } 2279 psFree(object); 2280 exit(EXIT_FAILURE); 2281 } 2240 2282 2241 2283 psFree(object); … … 2287 2329 exit(EXIT_FAILURE); 2288 2330 } 2331 psFree(md); 2332 exit(EXIT_FAILURE); 2333 } 2289 2334 2290 2335 object = detResidExpObjectFromMetadata(md); … … 2336 2381 exit(EXIT_FAILURE); 2337 2382 } 2383 psFree(object); 2384 exit(EXIT_FAILURE); 2385 } 2338 2386 2339 2387 psFree(object); … … 2369 2417 exit(EXIT_FAILURE); 2370 2418 } 2419 psFree(md); 2420 exit(EXIT_FAILURE); 2421 } 2371 2422 2372 2423 object = detRunSummaryObjectFromMetadata(md); … … 2399 2450 } 2400 2451 if (!object->accept == true) { 2452 psFree(object); 2453 exit(EXIT_FAILURE); 2454 } 2401 2455 psFree(object); 2402 2456 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
