ff_qp_table_extract() frees the table on failure.

Found-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com>
---
 libavfilter/vf_pp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_pp.c b/libavfilter/vf_pp.c
index 29ab777e01..19a0f9fc6e 100644
--- a/libavfilter/vf_pp.c
+++ b/libavfilter/vf_pp.c
@@ -145,7 +145,6 @@ static int pp_filter_frame(AVFilterLink *inlink, AVFrame 
*inbuf)
     if (ret < 0) {
         av_frame_free(&inbuf);
         av_frame_free(&outbuf);
-        av_freep(&qp_table);
         return ret;
     }
 
-- 
2.28.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to