git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc1135
)
Invert yield of module and release of module list (shouldn't matter but you never...
author
Antoine Cellerier
<dionoea@videolan.org>
Wed, 22 Aug 2007 22:16:36 +0000
(22:16 +0000)
committer
Antoine Cellerier
<dionoea@videolan.org>
Wed, 22 Aug 2007 22:16:36 +0000
(22:16 +0000)
src/modules/modules.c
patch
|
blob
|
history
diff --git
a/src/modules/modules.c
b/src/modules/modules.c
index
c4a2355
..
49c179d
100644
(file)
--- a/
src/modules/modules.c
+++ b/
src/modules/modules.c
@@
-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 ) )
{
/* We can release the list, and return yes */
- vlc_list_release( p_list );
vlc_object_yield( p_module );
+ vlc_list_release( p_list );
return p_module;
}
}