[FFmpeg-devel] [PATCH] Fix a leak in movenc.c

Martin Storsjö martin
Tue Jul 20 07:23:42 CEST 2010


On Mon, 19 Jul 2010, Baptiste Coudurier wrote:

> On 07/19/2010 12:36 AM, Martin Storsj? wrote:
> > Hi,
> > 
> > The attached patch fixes a leak in movenc.c, by always freeing the buffer
> > returned by url_close_dyn_buf, even if the size was zero. Since rev 23942,
> > the buffer returned may be allocated (containing padding) even if the size
> > of the actual data is zero.
> 
> Patch ok.

Applied

// Martin



More information about the ffmpeg-devel mailing list