Memory Leak

Steve Sloan <[email protected]> Wed, 01 Sep 2004 10:48:05 -0700
Newsgroups gmane.comp.graphics.mng.general
Message-ID <[email protected]>
I'm implementing a MNG source filter for DirectShow.  All is well, except for 
a very large (!) memory leak.  As near as I can tell, stepping through the 
code, it's allocating two frame buffers (through mng_clone_imageobject), but 
only ever releases one of them.  With the test content I'm using, this amounts 
to about a 2.5MB/s leak.  Ouch!

Am I doing anything (obviously) wrong?  I followed the docs carefully, but I 
didn't notice any way of explicitely freeing a frame.  I'm using libmng 1.0.6.

Thanks.

--
Send the message body "help" to [email protected]