[FFmpeg-cvslog] avfilter/af_acrossover: fix memory leak

Paul B Mahol git at videolan.org
Fri Oct 18 11:35:41 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Oct 18 10:33:54 2019 +0200| [daf2bef98ded7f8431fd04bf3324669329a923c1] | committer: Paul B Mahol

avfilter/af_acrossover: fix memory leak

Fixes #8304

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=daf2bef98ded7f8431fd04bf3324669329a923c1
---

 libavfilter/af_acrossover.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/af_acrossover.c b/libavfilter/af_acrossover.c
index 3ccc4d72f6..b1a1155c29 100644
--- a/libavfilter/af_acrossover.c
+++ b/libavfilter/af_acrossover.c
@@ -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);



More information about the ffmpeg-cvslog mailing list