提交 ceedda75 编写于 作者: M Michael Niedermayer

minor memleak

Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 0c79b140
......@@ -2145,6 +2145,7 @@ void av_close_input_stream(AVFormatContext *s)
av_freep(&s->programs[i]->stream_index);
av_freep(&s->programs[i]);
}
av_freep(&s->programs);
flush_packet_queue(s);
av_freep(&s->priv_data);
av_free(s);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册