[FFmpeg-devel] [PATCH] Extradata memleak in libx264.c

Måns Rullgård mans
Thu Oct 2 14:17:55 CEST 2008


Ralf Terdic wrote:
> Hi,
>
> In libx264.c, at the bottom of X264_init, avctx->extradata is allocated, but
> it's never freed. If the codec is repeatedly opened and closed, then the
> resulting leak is quite considerable.
>
> Please review and apply the attached fix.

No need for the if().

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list