Changeset 10989 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Jan 8, 2007, 4:08:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r10753 r10989 244 244 newExpRow *object; 245 245 246 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32 );246 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32, -16 ); 247 247 248 248 if (!object) { … … 277 277 exit(EXIT_FAILURE); 278 278 } 279 psFree(object); 280 exit(EXIT_FAILURE); 281 } 279 282 280 283 psFree(object); … … 284 287 newImfileRow *object; 285 288 286 object = newImfileRowAlloc("a string", "a string", "a string", "a string" );289 object = newImfileRowAlloc("a string", "a string", "a string", "a string", -16 ); 287 290 288 291 if (!object) { … … 303 306 } 304 307 if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) { 308 psFree(object); 309 exit(EXIT_FAILURE); 310 } 305 311 psFree(object); 306 312 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
