Re:The abominable strtok()
by jsolson on Friday September 24, 2010 @07:15PM
(#1725767)
I wasn't actually talking about error checking, I was talking about the lines:
I don't actually care whether the malloc succeeded or whether or not he checked for an error, as the second line blows away the only reference to the potentially allocated memory. Whatever may or may not have been allocated has now officially been leaked.
[ Parent
| on HN ]