1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/af_sofalizer: fix memory leaks

This commit is contained in:
Paul B Mahol 2018-12-23 21:49:30 +01:00
parent ee64b64c02
commit 7d5bb3a4d3

View File

@ -738,7 +738,7 @@ static int load_data(AVFilterContext *ctx, int azim, int elev, float radius, int
data_ir_r + n_samples * i,
&delay_l, &delay_r);
if (ret < 0)
return ret;
goto fail;
s->delay[0][i] = delay_l * sample_rate;
s->delay[1][i] = delay_r * sample_rate;