Commit 3e0ae19f authored by Clément Bœsch's avatar Clément Bœsch

avfilter/palettegen: fix frame mem leak

parent d490b26f
......@@ -531,7 +531,7 @@ static av_cold void uninit(AVFilterContext *ctx)
for (i = 0; i < HIST_SIZE; i++)
av_freep(&s->histogram[i].entries);
av_freep(&s->refs);
av_freep(&s->prev_frame);
av_frame_free(&s->prev_frame);
}
static const AVFilterPad palettegen_inputs[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment