diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-06-04 22:51:57 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-06-04 22:51:57 +0200 |
commit | 67162554d458c12f73c9461d5e661445693a201c (patch) | |
tree | 9d84ce41b1820b33b1b2191de92340039530f42d | |
parent | e2bbb95d582111b79e3bf26af7a80f05637f2866 (diff) | |
download | ffmpeg-67162554d458c12f73c9461d5e661445693a201c.tar.gz |
avfilter/af_afftfilt: fix memory leaks
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/af_afftfilt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/af_afftfilt.c b/libavfilter/af_afftfilt.c index 3fc1a1b4c9..d166fa4190 100644 --- a/libavfilter/af_afftfilt.c +++ b/libavfilter/af_afftfilt.c @@ -371,6 +371,9 @@ static av_cold void uninit(AVFilterContext *ctx) av_freep(&s->real); av_freep(&s->imag); av_frame_free(&s->buffer); + av_freep(&s->window_func_lut); + + av_audio_fifo_free(s->fifo); } static const AVFilterPad inputs[] = { |