[Tremor] _ogg_buffer_destroy()

win dam windam_2000 at yahoo.com
Fri Nov 4 14:46:46 PST 2005


Hi All,

I'm trying to get a better understanding of the
purpose of bs->outstanding in _ogg_buffer_destroy().
Based on my testing, if bs->outstanding=0, bs will be
deallocated and the function returns.  However, I
noticed that buffers in bs->unused_buffers,
bs->unused_references are not yet deallocated, thus
resulting in a memory leak.
In my tests, I haven't come across a case where
bs->outstanding=1, so I was wondering how this
variable is maintained.

Thanks,

-win




	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Tremor mailing list