Commit 2cface71 authored by Anton Khirnov's avatar Anton Khirnov Committed by Mans Rullgard

nutenc: fix a memleak

This fixes a minor memory leak introduced in 073f8b10.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment