[vlc-devel] commit: mixer: fix memleak. ( Rémi Duraffort )

git version control git at videolan.org
Fri Aug 28 00:20:06 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Aug 28 00:06:35 2009 +0200| [e5fc0bfd325a887982dbb83a65b00ca129c1c590] | committer: Rémi Duraffort 

mixer: fix memleak.

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

 src/audio_output/mixer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/audio_output/mixer.c b/src/audio_output/mixer.c
index d43bccb..0a74b0a 100644
--- a/src/audio_output/mixer.c
+++ b/src/audio_output/mixer.c
@@ -93,6 +93,7 @@ void aout_MixerDelete( aout_instance_t * p_aout )
 
     module_unneed( p_aout->p_mixer, p_aout->p_mixer->module );
 
+    free( p_aout->p_mixer->input );
     vlc_object_release( p_aout->p_mixer );
 
     /* */




More information about the vlc-devel mailing list