[vlc-devel] commit: Release the input in PopupMenu ( Rafaël Carré )

git version control git at videolan.org
Sun Apr 20 13:42:08 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 20 13:43:00 2008 +0200| [289a05e62b4b972628f8dbaa7199a6887b59ef0d]

Release the input in PopupMenu

Patch by Jean-Philippe André

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 577accf..1a5d4e7 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -658,6 +658,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
                     VideoAutoMenuBuilder( p_vout, objects, varnames );
                     vlc_object_release( p_vout );
                 }
+
+                vlc_object_release( p_input );
             }
 
             QMenu *menu = new QMenu();




More information about the vlc-devel mailing list