[vlc-commits] addons: remove useless lock/unlock
Rémi Denis-Courmont
git at videolan.org
Thu Jul 9 18:33:21 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 9 19:09:03 2015 +0300| [790f3b33a9df483e1529ef756e077011b929b3e0] | committer: Rémi Denis-Courmont
addons: remove useless lock/unlock
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=790f3b33a9df483e1529ef756e077011b929b3e0
---
src/misc/addons.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/misc/addons.c b/src/misc/addons.c
index f581f8c..cc7862e 100644
--- a/src/misc/addons.c
+++ b/src/misc/addons.c
@@ -190,12 +190,10 @@ void addons_manager_Delete( addons_manager_t *p_manager )
vlc_event_manager_fini( p_manager->p_event_manager );
#define FREE_QUEUE( name ) \
- vlc_mutex_lock( &p_manager->p_priv->name.lock );\
FOREACH_ARRAY( addon_entry_t *p_entry, p_manager->p_priv->name.entries )\
addon_entry_Release( p_entry );\
FOREACH_END();\
ARRAY_RESET( p_manager->p_priv->name.entries );\
- vlc_mutex_unlock( &p_manager->p_priv->name.lock );\
vlc_mutex_destroy( &p_manager->p_priv->name.lock );\
vlc_cond_destroy( &p_manager->p_priv->name.waitcond );
More information about the vlc-commits
mailing list