[FFmpeg-cvslog] avfilter/palettegen: fix frame mem leak
Clément Bœsch
git at videolan.org
Fri Feb 27 14:27:29 CET 2015
ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Fri Feb 27 14:18:53 2015 +0100| [3e0ae19f863fb4aea70529ea359148791e02fe3e] | committer: Clément Bœsch
avfilter/palettegen: fix frame mem leak
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e0ae19f863fb4aea70529ea359148791e02fe3e
---
libavfilter/vf_palettegen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_palettegen.c b/libavfilter/vf_palettegen.c
index fa8cc12a..8b08140 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[] = {
More information about the ffmpeg-cvslog
mailing list