You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
avfilter/vf_colorcorrect: fix memory leaks
(cherry picked from commit 5f87a68cf7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
a279a8620e
commit
a4b6e37ad5
@@ -497,6 +497,8 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
ColorCorrectContext *s = ctx->priv;
|
ColorCorrectContext *s = ctx->priv;
|
||||||
|
|
||||||
av_freep(&s->analyzeret);
|
av_freep(&s->analyzeret);
|
||||||
|
av_freep(&s->uhistogram);
|
||||||
|
av_freep(&s->vhistogram);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const AVFilterPad colorcorrect_inputs[] = {
|
static const AVFilterPad colorcorrect_inputs[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user