[FFmpeg-devel] [PATCH] avfilter/vf_tile: fix memory leak

Paul B Mahol onemda at gmail.com
Sat Oct 19 20:26:22 EEST 2019


Fixes #8313

Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavfilter/vf_tile.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c
index 439689a14d..6278f72abb 100644
--- a/libavfilter/vf_tile.c
+++ b/libavfilter/vf_tile.c
@@ -262,6 +262,7 @@ static av_cold void uninit(AVFilterContext *ctx)
 {
     TileContext *tile = ctx->priv;
 
+    av_frame_free(&tile->out_ref);
     av_frame_free(&tile->prev_out_ref);
 }
 
-- 
2.17.1



More information about the ffmpeg-devel mailing list