diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2018-11-08 22:26:14 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2018-11-09 21:55:32 +0100 |
commit | 75625c555cbe3564eedd05721ace78d16f9f139a (patch) | |
tree | a6db7277291d896421fb94b132c9833ea86a150e | |
parent | 29fdaaa80d7d4bb86412d51713c7bf8a0f5f5910 (diff) | |
download | ffmpeg-75625c555cbe3564eedd05721ace78d16f9f139a.tar.gz |
avfilter/af_headphone : fix mem leak
report by coverity
CID 1439934
CID 1439935
-rw-r--r-- | libavfilter/af_headphone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index 760b97b733..0c7e4a2957 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -475,7 +475,7 @@ static int convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink) ret = ff_inlink_consume_samples(ctx->inputs[i + 1], len, len, &s->in[i + 1].frame); if (ret < 0) - return ret; + goto fail; ptr = (float *)s->in[i + 1].frame->extended_data[0]; if (s->hrir_fmt == HRIR_STEREO) { |