IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

VERSION 0.0.76

File:
1 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);
Note: See TracChangeset for help on using the changeset viewer.