forked from pool/ffmpeg-5
19 lines
660 B
Diff
19 lines
660 B
Diff
|
commit 5f87a68cf70dafeab2fb89b42e41a4c29053b89b
|
||
|
Author: Paul B Mahol <onemda@gmail.com>
|
||
|
Date: Mon Nov 27 12:08:20 2023 +0100
|
||
|
|
||
|
avfilter/vf_colorcorrect: fix memory leaks
|
||
|
|
||
|
diff -Nura ffmpeg-5.1.4/libavfilter/vf_colorcorrect.c ffmpeg-5.1.4_new/libavfilter/vf_colorcorrect.c
|
||
|
--- ffmpeg-5.1.4/libavfilter/vf_colorcorrect.c 2023-11-10 07:38:51.000000000 +0800
|
||
|
+++ ffmpeg-5.1.4_new/libavfilter/vf_colorcorrect.c 2024-04-25 16:21:53.290363296 +0800
|
||
|
@@ -498,6 +498,8 @@
|
||
|
ColorCorrectContext *s = ctx->priv;
|
||
|
|
||
|
av_freep(&s->analyzeret);
|
||
|
+ av_freep(&s->uhistogram);
|
||
|
+ av_freep(&s->vhistogram);
|
||
|
}
|
||
|
|
||
|
static const AVFilterPad colorcorrect_inputs[] = {
|