[vorbis-dev] mem leak when writing ogg vorbis comments
Tom Felker
tcfelker at mtco.com
Mon Aug 25 19:06:38 PDT 2003
Is there a reason you allocate buf[] from the heap and delete it at exit,
instead of just declaring it char buf[1024];? If you exit anywhere before
the end, you'll leak. That's not what's causing your 256 byte leak, though.
Other than that, the snipped part relating to pvcin might be interesting.
Also, remember I have no idea what I'm talking about here. :-)
--
Tom Felker, <tcfelker at mtco.com>
<http://vlevel.sourceforge.net> - Stop fiddling with the volume knob.
In order to understand recursion you must first understand recursion.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list