ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Sun Oct 3 08:06:11 2021 +0200| [beded39b19dc212fb8ac1175acb72f415c513e35] | committer: Andreas Rheinhardt
avfilter/vf_morpho: Fix leak of output frame on error Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=beded39b19dc212fb8ac1175acb72f415c513e35 --- libavfilter/vf_morpho.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c index cb751f7523..ce62c86f91 100644 --- a/libavfilter/vf_morpho.c +++ b/libavfilter/vf_morpho.c @@ -932,6 +932,7 @@ copy: out->pts = av_rescale_q(s->fs.pts, s->fs.time_base, outlink->time_base); return ff_filter_frame(outlink, out); fail: + av_frame_free(&out); av_frame_free(&in); return ret; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
