提交 2cface71 编写于 作者: A Anton Khirnov 提交者: Mans Rullgard

nutenc: fix a memleak

This fixes a minor memory leak introduced in 073f8b10.
Signed-off-by: NMans Rullgard <mans@mansr.com>
上级 de11ee90
......@@ -846,6 +846,7 @@ static int write_trailer(AVFormatContext *s){
avio_flush(bc);
ff_nut_free_sp(nut);
av_freep(&nut->stream);
av_freep(&nut->chapter);
av_freep(&nut->time_base);
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册