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
1 changed files with 1 additions and 1 deletions

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