[vlc-commits] trivial mixer: Don't leak all input blocks
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jul 31 14:12:57 CEST 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul 31 14:04:28 2018 +0200| [18a433d88d55052168fcd89307c508d9d06325c0] | committer: Hugo Beauzée-Luyssen
trivial mixer: Don't leak all input blocks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18a433d88d55052168fcd89307c508d9d06325c0
---
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 d84fb6e6dc..6b5b843c87 100644
--- a/modules/audio_filter/channel_mixer/trivial.c
+++ b/modules/audio_filter/channel_mixer/trivial.c
@@ -161,6 +161,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