[vlc-commits] Qt: fix leak

Jean-Baptiste Kempf git at videolan.org
Mon Apr 22 17:54:45 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 22 17:54:33 2013 +0200| [4b83eedaad2595bfe6a996e59131b6eb9c48d9a4] | committer: Jean-Baptiste Kempf

Qt: fix leak

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

 modules/gui/qt4/menus.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index a888d42..90b5f48 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1556,6 +1556,7 @@ void VLCMenuBar::updateAudioDevice( intf_thread_t * p_intf, audio_output_t *p_ao
     }
     free( ids );
     free( names );
+    free( selected );
 }
 
 void VLCMenuBar::updateRecents( intf_thread_t *p_intf )



More information about the vlc-commits mailing list