Commit 41ebbb3b authored by Clément Bœsch's avatar Clément Bœsch

lavf/wtvenc: fix s[tp]_pairs memleak.

parent 7c76eaec
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment