[vlc-commits] Fix missing unlock (cid #1047146)

Rémi Duraffort git at videolan.org
Sat Jul 13 10:37:58 CEST 2013


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 13 10:37:30 2013 +0200| [6a4744d9456b9744e6f6ef0ed69c0845be6b8e14] | committer: Rémi Duraffort

Fix missing unlock (cid #1047146)

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

 lib/media.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/media.c b/lib/media.c
index fb3a637..593f5c6 100644
--- a/lib/media.c
+++ b/lib/media.c
@@ -767,6 +767,7 @@ libvlc_media_tracks_get( libvlc_media_t *p_md, libvlc_media_track_t *** pp_es )
             libvlc_media_tracks_release( *pp_es, i_es );
             *pp_es = NULL;
             free( p_mes );
+            vlc_mutex_unlock( &p_input_item->lock );
             return 0;
         }
         (*pp_es)[i] = p_mes;



More information about the vlc-commits mailing list