Commit 6d872fb4 authored by Antoine Cellerier's avatar Antoine Cellerier

Invert yield of module and release of module list (shouldn't matter but you never know).

parent 7bc11355
...@@ -780,8 +780,8 @@ module_t *__module_FindName( vlc_object_t *p_this, const char * psz_name ) ...@@ -780,8 +780,8 @@ module_t *__module_FindName( vlc_object_t *p_this, const char * psz_name )
if( psz_module_name && !strcmp( psz_module_name, psz_name ) ) if( psz_module_name && !strcmp( psz_module_name, psz_name ) )
{ {
/* We can release the list, and return yes */ /* We can release the list, and return yes */
vlc_list_release( p_list );
vlc_object_yield( p_module ); vlc_object_yield( p_module );
vlc_list_release( p_list );
return p_module; return p_module;
} }
} }
......
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