IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2007, 12:36:18 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.15 (take 2)

File:
1 edited

Legend:

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

    r12231 r12236  
    602602        chipProcessedExpRow *object;
    603603
    604         object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string"    );
     604        object = chipProcessedExpRowAlloc(-64, "a string", -64, "a string", "a string", "a string", "a string", "a string"    );
    605605
    606606        if (!object) {
     
    620620            exit(EXIT_FAILURE);
    621621        }
     622        if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) {
     623            psFree(object);
     624            exit(EXIT_FAILURE);
     625        }
    622626        if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
    623627            psFree(object);
     
    705709        camPendingExpRow *object;
    706710
    707         object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string"    );
     711        object = camPendingExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string"    );
    708712
    709713        if (!object) {
     
    719723            exit(EXIT_FAILURE);
    720724        }
     725        if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) {
     726            psFree(object);
     727            exit(EXIT_FAILURE);
     728        }
    721729        if (strncmp(object->label, "a string", MAX_STRING_LENGTH)) {
    722730            psFree(object);
     
    742750        camProcessedExpRow *object;
    743751
    744         object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16    );
     752        object = camProcessedExpRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", 32.32, 32.32, -16    );
    745753
    746754        if (!object) {
     
    753761        }
    754762        if (!object->chip_id == -64) {
     763            psFree(object);
     764            exit(EXIT_FAILURE);
     765        }
     766        if (strncmp(object->workdir, "a string", MAX_STRING_LENGTH)) {
    755767            psFree(object);
    756768            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.