summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/af_headphone.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c
index 0c7e4a2957..43e7747d86 100644
--- a/libavfilter/af_headphone.c
+++ b/libavfilter/af_headphone.c
@@ -587,6 +587,9 @@ static int convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink)
fail:
+ for (i = 0; i < s->nb_inputs - 1; i++)
+ av_frame_free(&s->in[i + 1].frame);
+
av_freep(&data_ir_l);
av_freep(&data_ir_r);