[Tremor] memory leak
Frederic Bastien
nouiz at nouiz.org
Mon Jul 11 12:51:22 PDT 2005
Hi,
I'm not an expert, but there have been a patch that I have send to the
list that removed some memory leaks. I don't know if it was included in
the main source code. You can look in the archive of the mailing list for
the patch.
Frédéric Bastien
> 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
>
> _______________________________________________
> Tremor mailing list
> Tremor at xiph.org
> http://lists.xiph.org/mailman/listinfo/tremor
>
More information about the Tremor
mailing list