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

Martin Storsjö martin
Mon Jul 19 09:36:11 CEST 2010


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.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Free-the-buffer-returned-by-url_close_dyn_buffer-reg.patch
Type: text/x-diff
Size: 979 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100719/ec2cd00e/attachment.patch>



More information about the ffmpeg-devel mailing list