1
0
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:
Clément Bœsch 2012-11-11 23:55:25 +01:00
parent 7c76eaeca2
commit 41ebbb3b04

View File

@ -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;
}