[FFmpeg-cvslog] avfilter/vf_nnedi: Fix memleak

Michael Niedermayer git at videolan.org
Wed Feb 10 01:00:45 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Feb  9 13:02:40 2016 +0100| [674cc26f257c1b1e320d8e695b1b9cf74f8ef83b] | committer: Michael Niedermayer

avfilter/vf_nnedi: Fix memleak

Fixes CID1351359

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=674cc26f257c1b1e320d8e695b1b9cf74f8ef83b
---

 libavfilter/vf_nnedi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
index a1f2952..9a98ec2 100644
--- a/libavfilter/vf_nnedi.c
+++ b/libavfilter/vf_nnedi.c
@@ -1154,7 +1154,7 @@ static av_cold int init(AVFilterContext *ctx)
 
     s->fdsp = avpriv_float_dsp_alloc(0);
     if (!s->fdsp)
-        return AVERROR(ENOMEM);
+        ret = AVERROR(ENOMEM);
 
 fail:
     av_free(bdata);



More information about the ffmpeg-cvslog mailing list