Browse Source

avfilter/af_afftfilt: fix memory leaks

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.4
Paul B Mahol 8 years ago
parent
commit
67162554d4
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavfilter/af_afftfilt.c

+ 3
- 0
libavfilter/af_afftfilt.c View File

@@ -371,6 +371,9 @@ static av_cold void uninit(AVFilterContext *ctx)
av_freep(&s->real); av_freep(&s->real);
av_freep(&s->imag); av_freep(&s->imag);
av_frame_free(&s->buffer); av_frame_free(&s->buffer);
av_freep(&s->window_func_lut);

av_audio_fifo_free(s->fifo);
} }


static const AVFilterPad inputs[] = { static const AVFilterPad inputs[] = {


Loading…
Cancel
Save