Changeset 10110 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Nov 20, 2006, 1:58:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r10060 r10110 9 9 { 10 10 { 11 expTagCounterRow *object; 12 13 object = expTagCounterRowAlloc(64 ); 14 15 if (!object) { 16 exit(EXIT_FAILURE); 17 } 18 19 psFree(object); 20 exit(EXIT_FAILURE); 21 } 22 23 psFree(object); 24 } 25 26 { 11 27 summitExpRow *object; 12 28 … … 224 240 newExpRow *object; 225 241 226 object = newExpRowAlloc(64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32 ); 227 228 if (!object) { 229 exit(EXIT_FAILURE); 230 } 231 242 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32 ); 243 244 if (!object) { 245 exit(EXIT_FAILURE); 246 } 247 248 if (strncmp(object->exp_tag, "a string", MAX_STRING_LENGTH)) { 232 249 psFree(object); 233 250 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
