avfilter/vf_tile: fix memory leak
authorPaul B Mahol <onemda@gmail.com>
Sat, 19 Oct 2019 17:24:52 +0000 (19:24 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sun, 20 Oct 2019 16:06:26 +0000 (18:06 +0200)
Fixes #8313

libavfilter/vf_tile.c

index 439689a..6278f72 100644 (file)
@@ -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);
 }