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
1 changed files with 3 additions and 0 deletions

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