mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avfilter/palettegen: fix frame mem leak
This commit is contained in:
parent
d490b26fcb
commit
3e0ae19f86
@ -531,7 +531,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
for (i = 0; i < HIST_SIZE; i++)
|
for (i = 0; i < HIST_SIZE; i++)
|
||||||
av_freep(&s->histogram[i].entries);
|
av_freep(&s->histogram[i].entries);
|
||||||
av_freep(&s->refs);
|
av_freep(&s->refs);
|
||||||
av_freep(&s->prev_frame);
|
av_frame_free(&s->prev_frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const AVFilterPad palettegen_inputs[] = {
|
static const AVFilterPad palettegen_inputs[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user