avfilter/af_acrossover: fix memory leak
authorPaul B Mahol <onemda@gmail.com>
Fri, 18 Oct 2019 08:33:54 +0000 (10:33 +0200)
committerPaul B Mahol <onemda@gmail.com>
Fri, 18 Oct 2019 08:33:54 +0000 (10:33 +0200)
Fixes #8304

libavfilter/af_acrossover.c

index 3ccc4d7..b1a1155 100644 (file)
@@ -314,6 +314,7 @@ static av_cold void uninit(AVFilterContext *ctx)
     int i;
 
     av_freep(&s->splits);
+    av_freep(&s->xover);
 
     for (i = 0; i < ctx->nb_outputs; i++)
         av_freep(&ctx->output_pads[i].name);