ffmpeg | branch: master | Zhao Zhili <quinkbl...@foxmail.com> | Fri Mar 18 10:54:42 2022 +0800| [6f210ebae2c2e5f44312d723af8a21c87e5a612d] | committer: James Almer
avcodec/setts_bsf: fix memleak Reviewed-by: Paul B Mahol <one...@gmail.com> Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f210ebae2c2e5f44312d723af8a21c87e5a612d --- libavcodec/setts_bsf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/setts_bsf.c b/libavcodec/setts_bsf.c index 3c666b5061..fadf63bc54 100644 --- a/libavcodec/setts_bsf.c +++ b/libavcodec/setts_bsf.c @@ -244,6 +244,8 @@ static void setts_close(AVBSFContext *bsf) s->pts_expr = NULL; av_expr_free(s->dts_expr); s->dts_expr = NULL; + av_expr_free(s->duration_expr); + s->duration_expr = NULL; } #define OFFSET(x) offsetof(SetTSContext, x) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".