Commit 76a0d251 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_instance.c: Fix a segfault caused by...

control/media_instance.c: Fix a segfault caused by libvlc_media_instance_release. (Patch by Enrique Osuna).
parent 621b141d
...@@ -340,10 +340,10 @@ void libvlc_media_instance_release( libvlc_media_instance_t *p_mi ) ...@@ -340,10 +340,10 @@ void libvlc_media_instance_release( libvlc_media_instance_t *p_mi )
vlc_mutex_unlock( &p_mi->object_lock ); vlc_mutex_unlock( &p_mi->object_lock );
vlc_mutex_destroy( &p_mi->object_lock ); vlc_mutex_destroy( &p_mi->object_lock );
libvlc_event_manager_release( p_mi->p_event_manager );
release_input_thread( p_mi ); release_input_thread( p_mi );
libvlc_event_manager_release( p_mi->p_event_manager );
libvlc_media_descriptor_release( p_mi->p_md ); libvlc_media_descriptor_release( p_mi->p_md );
free( p_mi ); free( p_mi );
......
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