[vlc-commits] lib: fix object reference leak, fix test suite

Rémi Denis-Courmont git at videolan.org
Sun Jun 8 19:05:56 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun  8 20:03:44 2014 +0300| [b9b9d7fe3e6e009ee08fc795a94cb5b342e722ef] | committer: Rémi Denis-Courmont

lib: fix object reference leak, fix test suite

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

 lib/audio.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/audio.c b/lib/audio.c
index b1e7bf9..15d9d98 100644
--- a/lib/audio.c
+++ b/lib/audio.c
@@ -150,6 +150,7 @@ libvlc_audio_output_device_enum( libvlc_media_player_t *mp )
     char **values, **texts;
 
     int n = aout_DevicesList( aout, &values, &texts );
+    vlc_object_release( aout );
     if( n < 0 )
         goto err;
 



More information about the vlc-commits mailing list