[FFmpeg-devel] [PATCH] lavf/wtvenc: fix s[tp]_pairs memleak.
Clément Bœsch
ubitux at gmail.com
Mon Nov 12 22:41:09 CET 2012
On Sun, Nov 11, 2012 at 11:55:52PM +0100, Clément Bœsch wrote:
> ---
> libavformat/wtvenc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/libavformat/wtvenc.c b/libavformat/wtvenc.c
> index 9cc5a05..8300662 100644
> --- a/libavformat/wtvenc.c
> +++ b/libavformat/wtvenc.c
> @@ -730,6 +730,9 @@ static int write_trailer(AVFormatContext *s)
> avio_wl32(pb, file_end_pos >> WTV_SECTOR_BITS);
>
> avio_flush(pb);
> +
> + av_free(wctx->sp_pairs);
> + av_free(wctx->st_pairs);
> return 0;
> }
>
I'll push this tomorrow if I see no comment, there is too much yellow on
FATE because of this.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121112/0bf1b3a5/attachment.asc>
More information about the ffmpeg-devel
mailing list