[x264-devel] Memory Leak in x264/encoder/encoder.c
Jason Garrett-Glaser
darkshikari at gmail.com
Tue Oct 13 08:28:11 CEST 2009
On Mon, Oct 12, 2009 at 11:19 PM, <devel at integra-sc.it> wrote:
> Hi all, and congratulations for all your work.
> Using the x264 encoder with ffmpeg library, in a loop cycle,
> opening/encoding/closing the codec and testing the code with valgrind,
> we have noticed a memory leak in the function:
> void x264_encoder_close ( x264_t *h ).
> We have tried to add the following line before the end of the function:
> x264_free( h->nal_buffer );
> Attacched the pach, realized by Gennaro Gallo our developer.
> Thanks for all.
> Vito Covito.
Applied a similar patch locally. Thanks for catching my stupidity.
Dark Shikari
More information about the x264-devel
mailing list