[vlc-devel] commit: Extensions: remove useless hold/release ( Jean-Philippe André )

git version control git at videolan.org
Thu Feb 4 03:41:10 CET 2010


vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Thu Feb  4 03:37:21 2010 +0100| [af29c1514407de686d7db3db821c6bc6767213e8] | committer: Jean-Philippe André 

Extensions: remove useless hold/release

Pointed by fenrir

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

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

diff --git a/modules/gui/qt4/extensions_manager.cpp b/modules/gui/qt4/extensions_manager.cpp
index bc7911c..37888ed 100644
--- a/modules/gui/qt4/extensions_manager.cpp
+++ b/modules/gui/qt4/extensions_manager.cpp
@@ -257,8 +257,6 @@ void ExtensionsManager::triggerMenu( int id )
 
 void ExtensionsManager::inputChanged( input_thread_t* p_input )
 {
-    if( p_input )
-        vlc_object_hold( p_input );
     vlc_mutex_lock( &p_extensions_manager->lock );
 
     extension_t *p_ext;
@@ -272,6 +270,4 @@ void ExtensionsManager::inputChanged( input_thread_t* p_input )
     FOREACH_END()
 
     vlc_mutex_unlock( &p_extensions_manager->lock );
-    if( p_input )
-        vlc_object_release( p_input );
 }




More information about the vlc-devel mailing list