aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_nnedi.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-09 13:02:40 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-10 01:00:08 +0100
commit674cc26f257c1b1e320d8e695b1b9cf74f8ef83b (patch)
tree1f3946cf73edd2ac60f0d3232b37b64eebc9ddff /libavfilter/vf_nnedi.c
parent331a33d74a0e8a543f511081fa9dd9a880e784f8 (diff)
downloadffmpeg-674cc26f257c1b1e320d8e695b1b9cf74f8ef83b.tar.gz
avfilter/vf_nnedi: Fix memleak
Fixes CID1351359 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_nnedi.c')
-rw-r--r--libavfilter/vf_nnedi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
index a1f2952369..9a98ec211e 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);