diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-25 20:11:51 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-06-25 20:12:03 +0300 |
commit | e73ccfd6ad10d25862bc0b459519524ec5dfb2b1 (patch) | |
tree | b3434d81949949322183419b879803f900a8f0d1 /libavfilter | |
parent | ee2a8f142b518e09dbef011db2026cf8a5bb8817 (diff) |
lavfi/subtitles: fix memleak after 6bcb1e1a
Spotted-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_subtitles.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index 5c3cffbe80..c7c82b75c6 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -478,6 +478,7 @@ end: av_dict_free(&codec_opts); if (dec_ctx) avcodec_close(dec_ctx); + avcodec_free_context(&dec_ctx); if (fmt) avformat_close_input(&fmt); return ret; |