Fix missing unlock (cid #1047146)

This commit is contained in:
Rémi Duraffort 2013-07-13 10:37:30 +02:00
parent 9ebbc7d3ff
commit 6a4744d945
1 changed files with 1 additions and 0 deletions

View File

@ -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;