[theora-dev] Multi-Thread Theora Encoder
maikmerten at gmx.net
Sun Oct 21 02:25:11 PDT 2007
Felipe Portavales Goldstein schrieb:
>> encode.c, PickModes() (starting with line 1439) has a few mallocs for
>> your multithreading data structures. If the return statement in line
>> 1467 gets triggered the memory allocated doesn't reveive the free()
>> calls it deserves. (if I don't miss something, one can rightfully call
>> me a C newbie).
> Thanks for noting that. This is a really serious bug.
Just wanted to point out that I replaced that premature return statement
causing the memory leak with something better in this commit:
If you replicate that in your version the memory leak will be gone.
More information about the theora-dev