avfilter/vf_nnedi: Fix memleak
Fixes CID1351359 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
331a33d74a
commit
674cc26f25
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user