Browse Source

avfilter/palettegen: fix frame mem leak

tags/n2.6
Clément Bœsch 10 years ago
parent
commit
3e0ae19f86
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_palettegen.c

+ 1
- 1
libavfilter/vf_palettegen.c 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[] = {


Loading…
Cancel
Save