[vlc-commits] commit: qt4: fix object leak. (=?UTF-8?Q?R=C3=A9mi=20Duraffort=20?=)

git at videolan.org git at videolan.org
Fri Jan 7 22:40:43 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jan  7 22:40:16 2011 +0100| [7a4bb03e73b9485649c6b418529320edf9c63d55] | committer: Rémi Duraffort 

qt4: fix object leak.

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

 modules/gui/qt4/input_manager.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 749ec5a..a33b360 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -524,6 +524,8 @@ bool InputManager::hasVisualisation()
         return false;
 
     char *visual = var_InheritString( aout, "visual" );
+    vlc_object_release( aout );
+
     if( !visual )
         return false;
 



More information about the vlc-commits mailing list