Changeset 5104 for trunk/archive/scripts/src/phase2/papStuff.c
- Timestamp:
- Sep 22, 2005, 4:54:52 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/scripts/src/phase2/papStuff.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/scripts/src/phase2/papStuff.c
r4820 r5104 6 6 7 7 #include "papStuff.h" 8 9 10 static void memPrint(const psPtr ptr) 11 { 12 psMemBlock *mb = ((psMemBlock*)ptr) - 1; 13 printf("Memory block %lld (%lld):\n" 14 "\tFile %s, line %d, size %d\n" 15 "\tPosts: %x %x %x\n", 16 mb->id, mb->refCounter, mb->file, mb->lineno, mb->userMemorySize, mb->startblock, mb->endblock, 17 *(void**)((int8_t *)(mb + 1) + mb->userMemorySize)); 18 } 8 19 9 20 // Split string on given characters … … 30 41 (void)psListAdd(values, PS_LIST_TAIL, word); 31 42 start = i + 1; 43 psFree(word); 32 44 } 33 45 } … … 37 49 psString word = psStringNCopy(&string[start], length - start); 38 50 (void)psListAdd(values, PS_LIST_TAIL, word); 51 psFree(word); 39 52 } 40 53
Note:
See TracChangeset
for help on using the changeset viewer.
