mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
nutenc: fix a memleak
This fixes a minor memory leak introduced in 073f8b1
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
de11ee906e
commit
2cface71ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user