Commit 6a4744d9 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix missing unlock (cid #1047146)

parent 9ebbc7d3
...@@ -767,6 +767,7 @@ libvlc_media_tracks_get( libvlc_media_t *p_md, libvlc_media_track_t *** pp_es ) ...@@ -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 ); libvlc_media_tracks_release( *pp_es, i_es );
*pp_es = NULL; *pp_es = NULL;
free( p_mes ); free( p_mes );
vlc_mutex_unlock( &p_input_item->lock );
return 0; return 0;
} }
(*pp_es)[i] = p_mes; (*pp_es)[i] = p_mes;
......
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