Quoting David Bronaugh <dbronaugh at linuxboxen.org>: > Oh yeah, your code also has a memory leak... leaks the strings it allocates. > > Cheers! > > David Hey, good eye. I forgot to deallocate the actual string storage int the DeallocateTokens routine. Asleep at the switch I guess... Thanks, Peter