diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-29 02:33:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-29 02:33:32 +0100 |
commit | f54e06feb363e7c704fbca52cb057d742285d7bf (patch) | |
tree | fcaa1cf8035745c1d875785970f2249319a03794 /libavfilter | |
parent | 9aa7b3cd5341f2252a7754b6ad9db8b49b6a343a (diff) | |
download | ffmpeg-f54e06feb363e7c704fbca52cb057d742285d7bf.tar.gz |
vf_deshake: try to fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_deshake.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index bb20551bc9..cdece5c1bf 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -418,6 +418,8 @@ static av_cold void uninit(AVFilterContext *ctx) avfilter_unref_buffer(deshake->ref); if (deshake->fp) fclose(deshake->fp); + avcodec_close(deshake->avctx); + av_freep(&deshake->avctx); } static void end_frame(AVFilterLink *link) |