[FFmpeg-devel] [PATCH] avfilter/vf_nnedi: Fix memleak
Michael Niedermayer
michael at niedermayer.cc
Tue Feb 9 13:02:40 CET 2016
Fixes CID1351359
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
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);
--
1.7.9.5
More information about the ffmpeg-devel
mailing list