libavfilter/vf_cover_rect.c: free the allocated frame
authorLimin Wang <lance.lmwang@gmail.com>
Tue, 11 Jun 2019 01:45:58 +0000 (09:45 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 11 Jun 2019 21:53:26 +0000 (23:53 +0200)
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_cover_rect.c

index 41cd1a1..898debf 100644 (file)
@@ -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)