[Tremor] memory leak

Park Jin Soo jinsp at mcubeworks.com
Tue Jul 5 01:54:23 PDT 2005


Dear experts,

I have questions on tremor:

1. memory leak
I found that memory leaks occur in framing.c as follows:

  80*2 bytes by _ogg_calloc() in ogg_stream_create(), ln. 826
  16*7 bytes by _ogg_malloc() in _fetch_buffer(), ln. 98
1024*7 bytes by _ogg_malloc() in _fetch_buffer(), ln. 99
  16*10 bytes by _ogg_malloc() in _fetch_ref(), ln. 108

Is this a bug in vorbisfile.c?
Is there any report or solution on this matter?

2. static allocation of memory
It seems that tremor allocates most of memories dynamically
by malloc and calloc. 
Then is it impossible to use static memory?
Is there any example for static allocation?

Could you let me know the answers?

Thanks in advance and best regards,
Jin Soo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/tremor/attachments/20050705/7cc9f427/attachment.html


More information about the Tremor mailing list