IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11113 for trunk/ippdb/tests


Ignore:
Timestamp:
Jan 16, 2007, 12:21:17 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.76

Location:
trunk/ippdb/tests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/alloc.c

    r11077 r11113  
    921921        detProcessedImfileRow *object;
    922922
    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    );
    924924
    925925        if (!object) {
     
    967967            exit(EXIT_FAILURE);
    968968        }
     969            psFree(object);
     970            exit(EXIT_FAILURE);
     971        }
    969972
    970973        psFree(object);
     
    974977        detProcessedExpRow *object;
    975978
    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    );
    977980
    978981        if (!object) {
     
    10121015            exit(EXIT_FAILURE);
    10131016        }
     1017            psFree(object);
     1018            exit(EXIT_FAILURE);
     1019        }
    10141020
    10151021        psFree(object);
     
    10191025        detStackedImfileRow *object;
    10201026
    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    );
    10221028
    10231029        if (!object) {
     
    10571063            exit(EXIT_FAILURE);
    10581064        }
     1065            psFree(object);
     1066            exit(EXIT_FAILURE);
     1067        }
    10591068
    10601069        psFree(object);
     
    10641073        detNormalizedStatImfileRow *object;
    10651074
    1066         object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32    );
     1075        object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16    );
    10671076
    10681077        if (!object) {
     
    10861095            exit(EXIT_FAILURE);
    10871096        }
     1097            psFree(object);
     1098            exit(EXIT_FAILURE);
     1099        }
    10881100
    10891101        psFree(object);
     
    10931105        detNormalizedImfileRow *object;
    10941106
    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    );
    10961108
    10971109        if (!object) {
     
    11351147            exit(EXIT_FAILURE);
    11361148        }
     1149            psFree(object);
     1150            exit(EXIT_FAILURE);
     1151        }
    11371152
    11381153        psFree(object);
     
    11421157        detNormalizedExpRow *object;
    11431158
    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    );
    11451160
    11461161        if (!object) {
     
    11801195            exit(EXIT_FAILURE);
    11811196        }
     1197            psFree(object);
     1198            exit(EXIT_FAILURE);
     1199        }
    11821200
    11831201        psFree(object);
     
    11871205        detResidImfileRow *object;
    11881206
    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    );
    11901208
    11911209        if (!object) {
     
    12371255            exit(EXIT_FAILURE);
    12381256        }
     1257            psFree(object);
     1258            exit(EXIT_FAILURE);
     1259        }
    12391260
    12401261        psFree(object);
     
    12441265        detResidExpRow  *object;
    12451266
    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    );
    12471268
    12481269        if (!object) {
     
    12901311            exit(EXIT_FAILURE);
    12911312        }
     1313            psFree(object);
     1314            exit(EXIT_FAILURE);
     1315        }
    12921316
    12931317        psFree(object);
     
    12971321        detRunSummaryRow *object;
    12981322
    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    );
    13001324
    13011325        if (!object) {
     
    13241348        }
    13251349        if (!object->accept == true) {
     1350            psFree(object);
     1351            exit(EXIT_FAILURE);
     1352        }
    13261353            psFree(object);
    13271354            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/insert.c

    r11077 r11113  
    343343        }
    344344
    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)) {
    466466            exit(EXIT_FAILURE);
    467467        }
  • trunk/ippdb/tests/insertobject.c

    r11077 r11113  
    498498        }
    499499
    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);
    501501        if (!object) {
    502502            exit(EXIT_FAILURE);
     
    520520        }
    521521
    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);
    523523        if (!object) {
    524524            exit(EXIT_FAILURE);
     
    542542        }
    543543
    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);
    545545        if (!object) {
    546546            exit(EXIT_FAILURE);
     
    564564        }
    565565
    566         object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32);
     566        object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16);
    567567        if (!object) {
    568568            exit(EXIT_FAILURE);
     
    586586        }
    587587
    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);
    589589        if (!object) {
    590590            exit(EXIT_FAILURE);
     
    608608        }
    609609
    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);
    611611        if (!object) {
    612612            exit(EXIT_FAILURE);
     
    630630        }
    631631
    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);
    633633        if (!object) {
    634634            exit(EXIT_FAILURE);
     
    652652        }
    653653
    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);
    655655        if (!object) {
    656656            exit(EXIT_FAILURE);
     
    674674        }
    675675
    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);
    677677        if (!object) {
    678678            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/metadatafromobject.c

    r11077 r11113  
    10991099        bool            status;
    11001100
    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);
    11021102        if (!object) {
    11031103            exit(EXIT_FAILURE);
     
    11511151            exit(EXIT_FAILURE);
    11521152        }
     1153            psFree(md);
     1154            exit(EXIT_FAILURE);
     1155        }
    11531156
    11541157        psFree(md);
     
    11601163        bool            status;
    11611164
    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);
    11631166        if (!object) {
    11641167            exit(EXIT_FAILURE);
     
    12041207            exit(EXIT_FAILURE);
    12051208        }
     1209            psFree(md);
     1210            exit(EXIT_FAILURE);
     1211        }
    12061212
    12071213        psFree(md);
     
    12131219        bool            status;
    12141220
    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);
    12161222        if (!object) {
    12171223            exit(EXIT_FAILURE);
     
    12571263            exit(EXIT_FAILURE);
    12581264        }
     1265            psFree(md);
     1266            exit(EXIT_FAILURE);
     1267        }
    12591268
    12601269        psFree(md);
     
    12661275        bool            status;
    12671276
    1268         object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32);
     1277        object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32, -16);
    12691278        if (!object) {
    12701279            exit(EXIT_FAILURE);
     
    12941303            exit(EXIT_FAILURE);
    12951304        }
     1305            psFree(md);
     1306            exit(EXIT_FAILURE);
     1307        }
    12961308
    12971309        psFree(md);
     
    13031315        bool            status;
    13041316
    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);
    13061318        if (!object) {
    13071319            exit(EXIT_FAILURE);
     
    13511363            exit(EXIT_FAILURE);
    13521364        }
     1365            psFree(md);
     1366            exit(EXIT_FAILURE);
     1367        }
    13531368
    13541369        psFree(md);
     
    13601375        bool            status;
    13611376
    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);
    13631378        if (!object) {
    13641379            exit(EXIT_FAILURE);
     
    14041419            exit(EXIT_FAILURE);
    14051420        }
     1421            psFree(md);
     1422            exit(EXIT_FAILURE);
     1423        }
    14061424
    14071425        psFree(md);
     
    14131431        bool            status;
    14141432
    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);
    14161434        if (!object) {
    14171435            exit(EXIT_FAILURE);
     
    14691487            exit(EXIT_FAILURE);
    14701488        }
     1489            psFree(md);
     1490            exit(EXIT_FAILURE);
     1491        }
    14711492
    14721493        psFree(md);
     
    14781499        bool            status;
    14791500
    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);
    14811502        if (!object) {
    14821503            exit(EXIT_FAILURE);
     
    15301551            exit(EXIT_FAILURE);
    15311552        }
     1553            psFree(md);
     1554            exit(EXIT_FAILURE);
     1555        }
    15321556
    15331557        psFree(md);
     
    15391563        bool            status;
    15401564
    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);
    15421566        if (!object) {
    15431567            exit(EXIT_FAILURE);
     
    15721596        }
    15731597        if (!psMetadataLookupBool(&status, md, "accept") == true) {
     1598            psFree(md);
     1599            exit(EXIT_FAILURE);
     1600        }
    15741601            psFree(md);
    15751602            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/objectfrommetadata.c

    r11077 r11113  
    16971697            exit(EXIT_FAILURE);
    16981698        }
     1699            psFree(md);
     1700            exit(EXIT_FAILURE);
     1701        }
    16991702
    17001703        object = detProcessedImfileObjectFromMetadata(md);
     
    17461749            exit(EXIT_FAILURE);
    17471750        }
     1751            psFree(object);
     1752            exit(EXIT_FAILURE);
     1753        }
    17481754
    17491755        psFree(object);
     
    17871793            exit(EXIT_FAILURE);
    17881794        }
     1795            psFree(md);
     1796            exit(EXIT_FAILURE);
     1797        }
    17891798
    17901799        object = detProcessedExpObjectFromMetadata(md);
     
    18281837            exit(EXIT_FAILURE);
    18291838        }
     1839            psFree(object);
     1840            exit(EXIT_FAILURE);
     1841        }
    18301842
    18311843        psFree(object);
     
    18691881            exit(EXIT_FAILURE);
    18701882        }
     1883            psFree(md);
     1884            exit(EXIT_FAILURE);
     1885        }
    18711886
    18721887        object = detStackedImfileObjectFromMetadata(md);
     
    19101925            exit(EXIT_FAILURE);
    19111926        }
     1927            psFree(object);
     1928            exit(EXIT_FAILURE);
     1929        }
    19121930
    19131931        psFree(object);
     
    19351953            exit(EXIT_FAILURE);
    19361954        }
     1955            psFree(md);
     1956            exit(EXIT_FAILURE);
     1957        }
    19371958
    19381959        object = detNormalizedStatImfileObjectFromMetadata(md);
     
    19601981            exit(EXIT_FAILURE);
    19611982        }
     1983            psFree(object);
     1984            exit(EXIT_FAILURE);
     1985        }
    19621986
    19631987        psFree(object);
     
    20052029            exit(EXIT_FAILURE);
    20062030        }
     2031            psFree(md);
     2032            exit(EXIT_FAILURE);
     2033        }
    20072034
    20082035        object = detNormalizedImfileObjectFromMetadata(md);
     
    20502077            exit(EXIT_FAILURE);
    20512078        }
     2079            psFree(object);
     2080            exit(EXIT_FAILURE);
     2081        }
    20522082
    20532083        psFree(object);
     
    20912121            exit(EXIT_FAILURE);
    20922122        }
     2123            psFree(md);
     2124            exit(EXIT_FAILURE);
     2125        }
    20932126
    20942127        object = detNormalizedExpObjectFromMetadata(md);
     
    21322165            exit(EXIT_FAILURE);
    21332166        }
     2167            psFree(object);
     2168            exit(EXIT_FAILURE);
     2169        }
    21342170
    21352171        psFree(object);
     
    21852221            exit(EXIT_FAILURE);
    21862222        }
     2223            psFree(md);
     2224            exit(EXIT_FAILURE);
     2225        }
    21872226
    21882227        object = detResidImfileObjectFromMetadata(md);
     
    22382277            exit(EXIT_FAILURE);
    22392278        }
     2279            psFree(object);
     2280            exit(EXIT_FAILURE);
     2281        }
    22402282
    22412283        psFree(object);
     
    22872329            exit(EXIT_FAILURE);
    22882330        }
     2331            psFree(md);
     2332            exit(EXIT_FAILURE);
     2333        }
    22892334
    22902335        object = detResidExpObjectFromMetadata(md);
     
    23362381            exit(EXIT_FAILURE);
    23372382        }
     2383            psFree(object);
     2384            exit(EXIT_FAILURE);
     2385        }
    23382386
    23392387        psFree(object);
     
    23692417            exit(EXIT_FAILURE);
    23702418        }
     2419            psFree(md);
     2420            exit(EXIT_FAILURE);
     2421        }
    23712422
    23722423        object = detRunSummaryObjectFromMetadata(md);
     
    23992450        }
    24002451        if (!object->accept == true) {
     2452            psFree(object);
     2453            exit(EXIT_FAILURE);
     2454        }
    24012455            psFree(object);
    24022456            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.