[Discuss] 'C' string tokenizer for those who hate strtok

p.willis at telus.net p.willis at telus.net
Fri Jun 30 08:45:51 PDT 2006


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



More information about the Discuss mailing list