mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-16 16:02:54 +02:00
libvlc_media: Destroy the cond and the mutex.
This commit is contained in:
parent
8adbb2d7f9
commit
b0da3bf199
@ -408,6 +408,9 @@ void libvlc_media_release( libvlc_media_t *p_md )
|
|||||||
uninstall_input_item_observer( p_md );
|
uninstall_input_item_observer( p_md );
|
||||||
vlc_gc_decref( p_md->p_input_item );
|
vlc_gc_decref( p_md->p_input_item );
|
||||||
|
|
||||||
|
vlc_cond_destroy( &p_md->parsed_cond );
|
||||||
|
vlc_mutex_destroy( &p_md->parsed_lock );
|
||||||
|
|
||||||
/* Construct the event */
|
/* Construct the event */
|
||||||
libvlc_event_t event;
|
libvlc_event_t event;
|
||||||
event.type = libvlc_MediaFreed;
|
event.type = libvlc_MediaFreed;
|
||||||
|
Loading…
Reference in New Issue
Block a user