mirror of https://git.ffmpeg.org/ffmpeg.git
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_wl32(pb, file_end_pos >> WTV_SECTOR_BITS);
|
||||||
|
|
||||||
avio_flush(pb);
|
avio_flush(pb);
|
||||||
|
|
||||||
|
av_free(wctx->sp_pairs);
|
||||||
|
av_free(wctx->st_pairs);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue