[vlc-commits] projectM: fix mutex leak

Rémi Denis-Courmont git at videolan.org
Tue Oct 14 19:46:40 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Oct 13 19:04:16 2014 +0300| [ffb2a8b72bddb577a056089731c009560625429a] | committer: Rémi Denis-Courmont

projectM: fix mutex leak

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

 modules/visualization/projectm.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index e80fbf4..a9ed65a 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -204,6 +204,7 @@ static int Open( vlc_object_t * p_this )
     return VLC_SUCCESS;
 
 error:
+    vlc_mutex_destroy( &p_sys->lock );
     vlc_sem_destroy( &p_sys->ready );
     free (p_sys );
     return VLC_EGENERIC;



More information about the vlc-commits mailing list