Changeset 14252 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Jul 16, 2007, 5:10:27 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r14169 r14252 1100 1100 diffInputSkyfileRow *object; 1101 1101 1102 object = diffInputSkyfileRowAlloc(-64, -64, "a string", "a string", "a string", true);1102 object = diffInputSkyfileRowAlloc(-64, true, -64, -64, "a string", "a string", "a string" ); 1103 1103 1104 1104 if (!object) { … … 1110 1110 exit(EXIT_FAILURE); 1111 1111 } 1112 if (!object->template == true) { 1113 psFree(object); 1114 exit(EXIT_FAILURE); 1115 } 1116 if (!object->stack_id == -64) { 1117 psFree(object); 1118 exit(EXIT_FAILURE); 1119 } 1112 1120 if (!object->warp_id == -64) { 1113 1121 psFree(object); … … 1123 1131 } 1124 1132 if (strncmp(object->kind, "a string", MAX_STRING_LENGTH)) { 1125 psFree(object);1126 exit(EXIT_FAILURE);1127 }1128 if (!object->template == true) {1129 1133 psFree(object); 1130 1134 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
