Changeset 8006 for branches/jhoblitt/ippdb/tests/alloc.c
- Timestamp:
- Jul 31, 2006, 11:44:52 AM (20 years ago)
- File:
-
- 1 edited
-
branches/jhoblitt/ippdb/tests/alloc.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/alloc.c
r7500 r8006 880 880 detRunRow *object; 881 881 882 object = detRunRowAlloc("a string", -32 ); 883 884 if (!object) { 885 exit(EXIT_FAILURE); 886 } 887 882 object = detRunRowAlloc(-32, "a string" ); 883 884 if (!object) { 885 exit(EXIT_FAILURE); 886 } 887 888 if (!object->iteration == -32) { 889 psFree(object); 890 exit(EXIT_FAILURE); 891 } 888 892 if (strncmp(object->det_type, "a string", MAX_STRING_LENGTH)) { 889 psFree(object);890 exit(EXIT_FAILURE);891 }892 if (!object->iteration == -32) {893 893 psFree(object); 894 894 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
