mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
lavf/wtvenc: fix s[tp]_pairs memleak.
This commit is contained in:
parent
7c76eaeca2
commit
41ebbb3b04
@ -730,6 +730,9 @@ static int write_trailer(AVFormatContext *s)
|
||||
avio_wl32(pb, file_end_pos >> WTV_SECTOR_BITS);
|
||||
|
||||
avio_flush(pb);
|
||||
|
||||
av_free(wctx->sp_pairs);
|
||||
av_free(wctx->st_pairs);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user