ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sat Dec 13 13:53:53 2014 +0100| [498396f80c2e70e291e2f6cae716aebc883bb761] | committer: Michael Niedermayer
avfilter/vf_unsharp: use av_freep() avoid leaving stale pointers in memory Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=498396f80c2e70e291e2f6cae716aebc883bb761 --- libavfilter/vf_unsharp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 37053d9..2b8d046 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -215,7 +215,7 @@ static void free_filter_param(UnsharpFilterParam *fp) int z; for (z = 0; z < 2 * fp->steps_y; z++) - av_free(fp->sc[z]); + av_freep(&fp->sc[z]); } static av_cold void uninit(AVFilterContext *ctx) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog