Displaying 1 result from an estimated 1 matches for "w3xustv14rwj".
2001 Dec 18
2
Nonportable use of strdup()
Hey, I ran across this while building vorbis on the Mac:
In libvorbis RC2, file info.c, line 65, there's a call to strdup().
strdup() isn't portable, and it looks like the code should use the
internal memory functions to create the memory for the string anyway.
Actually, on further inspection, it looks like the memory for the
user comments is never actually freed.
I'm not subscribed