提交 147e5200 编写于 作者: M Michael Niedermayer

memleak fix by (Jake Page <jake at CS dot Stanford dot EDU>)

with minor fix by me

Originally committed as revision 2014 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 342474ab
......@@ -476,6 +476,9 @@ void MPV_common_end(MpegEncContext *s)
{
int i;
av_freep(&s->parse_context.buffer);
s->parse_context.buffer_size=0;
av_freep(&s->mb_type);
av_freep(&s->p_mv_table_base);
av_freep(&s->b_forw_mv_table_base);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册