IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2006, 6:22:07 PM (20 years ago)
Author:
jhoblitt
Message:

rel-0_0_02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jhoblitt/ippdb/tests/objectfrommetadata.c

    r7460 r7500  
    15811581            exit(EXIT_FAILURE);
    15821582        }
     1583        if (!psMetadataAddS32(md, PS_LIST_TAIL, "iteration", 0, NULL, -32)) {
     1584            psFree(md);
     1585            exit(EXIT_FAILURE);
     1586        }
    15831587
    15841588        object = detRunObjectFromMetadata(md);
     
    15911595
    15921596        if (strncmp(object->det_type, "a string", MAX_STRING_LENGTH)) {
     1597            psFree(object);
     1598            exit(EXIT_FAILURE);
     1599        }
     1600        if (!object->iteration == -32) {
    15931601            psFree(object);
    15941602            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.