1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/palettegen: fix frame mem leak

This commit is contained in:
Clément Bœsch 2015-02-27 14:18:53 +01:00
parent d490b26fcb
commit 3e0ae19f86

View File

@ -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[] = {