Commit 47c08526 authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Rémi Denis-Courmont

p_vlm destruction fixes

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 30e16170
...@@ -176,6 +176,8 @@ void libvlc_release( libvlc_instance_t *p_instance ) ...@@ -176,6 +176,8 @@ void libvlc_release( libvlc_instance_t *p_instance )
vlc_mutex_destroy( &p_instance->event_callback_lock ); vlc_mutex_destroy( &p_instance->event_callback_lock );
if( p_instance->p_event_manager ) if( p_instance->p_event_manager )
libvlc_event_manager_release( p_instance->p_event_manager ); libvlc_event_manager_release( p_instance->p_event_manager );
if( p_instance->p_vlm )
vlm_Delete( p_instance->p_vlm );
libvlc_InternalCleanup( p_instance->p_libvlc_int ); libvlc_InternalCleanup( p_instance->p_libvlc_int );
libvlc_InternalDestroy( p_instance->p_libvlc_int ); libvlc_InternalDestroy( p_instance->p_libvlc_int );
free( p_instance ); free( p_instance );
......
...@@ -218,6 +218,7 @@ void libvlc_vlm_release( libvlc_instance_t *p_instance, ...@@ -218,6 +218,7 @@ void libvlc_vlm_release( libvlc_instance_t *p_instance,
VLM(p_vlm); VLM(p_vlm);
vlm_Delete( p_vlm ); vlm_Delete( p_vlm );
p_instance->p_vlm = NULL;
} }
void libvlc_vlm_add_broadcast( libvlc_instance_t *p_instance, void libvlc_vlm_add_broadcast( libvlc_instance_t *p_instance,
......
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