summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-06-11 09:45:58 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-06-11 23:53:26 +0200
commit5fc8d87ba6954d3917a9095fb3b8c1d8caf0b0f4 (patch)
treec64e0115bd90bb1517f64c2d2a7f3bfd1cd7f784
parent80e68ce116868da6ba63c1a6f2c564f4703cc1ef (diff)
downloadffmpeg-streaming-5fc8d87ba6954d3917a9095fb3b8c1d8caf0b0f4.zip
ffmpeg-streaming-5fc8d87ba6954d3917a9095fb3b8c1d8caf0b0f4.tar.gz
libavfilter/vf_cover_rect.c: free the allocated frame
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavfilter/vf_cover_rect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c
index 41cd1a1..898debf 100644
--- a/libavfilter/vf_cover_rect.c
+++ b/libavfilter/vf_cover_rect.c
@@ -198,6 +198,7 @@ static av_cold void uninit(AVFilterContext *ctx)
if (cover->cover_frame)
av_freep(&cover->cover_frame->data[0]);
+ av_frame_free(&cover->cover_frame);
}
static av_cold int init(AVFilterContext *ctx)
OpenPOWER on IntegriCloud