Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2015-02-27 16:18:53 +0300
committerClément Bœsch <clement@stupeflix.com>2015-02-27 16:18:53 +0300
commit3e0ae19f863fb4aea70529ea359148791e02fe3e (patch)
treef8dadc80df2b8234a4b1616cf33e45c9838860ca /libavfilter/vf_palettegen.c
parentd490b26fcb1b36c91099537a08d9a217d4782451 (diff)
avfilter/palettegen: fix frame mem leak
Diffstat (limited to 'libavfilter/vf_palettegen.c')
-rw-r--r--libavfilter/vf_palettegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_palettegen.c b/libavfilter/vf_palettegen.c
index fa8cc12a3c..8b08140283 100644
--- a/libavfilter/vf_palettegen.c
+++ b/libavfilter/vf_palettegen.c
@@ -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[] = {