[ogg-dev] Fixing ogg vorbis corruption caused by bad metadata
Erik de Castro Lopo
mle+la at mega-nerd.com
Tue Jul 21 20:51:39 PDT 2009
Martin Leese wrote:
> Anyway, calling alloc()s with no corresponding
> free()s is a memory leak. Not good code.
The alloca() function allocates space on the stack and
that allocation is automatically freed when the function
that did the allocation returns.
The Linux man page is quite informative.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the ogg-dev
mailing list