[vlc-commits] trivial mixer: Don't leak all input blocks

Hugo Beauzée-Luyssen git at videolan.org
Wed Aug 1 13:19:04 CEST 2018


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul 31 14:04:28 2018 +0200| [2ba3c4c2c106c5310bbb5f9a858f7508dcee119e] | committer: Hugo Beauzée-Luyssen

trivial mixer: Don't leak all input blocks

(cherry picked from commit 18a433d88d55052168fcd89307c508d9d06325c0)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2ba3c4c2c106c5310bbb5f9a858f7508dcee119e
---

 modules/audio_filter/channel_mixer/trivial.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_filter/channel_mixer/trivial.c b/modules/audio_filter/channel_mixer/trivial.c
index 746934cbed..334d38b45e 100644
--- a/modules/audio_filter/channel_mixer/trivial.c
+++ b/modules/audio_filter/channel_mixer/trivial.c
@@ -157,6 +157,7 @@ static block_t *Extract( filter_t *p_filter, block_t *p_in_buf )
                          p_in_buf->i_nb_samples, pi_selections,
                          p_filter->fmt_out.audio.i_bitspersample );
 
+    block_Release( p_in_buf );
     return p_out_buf;
 }
 



More information about the vlc-commits mailing list