Commit af29c151 authored by Jean-Philippe André's avatar Jean-Philippe André

Extensions: remove useless hold/release

Pointed by fenrir
parent c235fa52
......@@ -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 );
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment