Commit 38460cb4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix the message queue memleak

parent 1129e6cb
......@@ -957,6 +957,13 @@ int VLC_Destroy( int i_object )
*/
system_End( p_vlc );
/*
* Free message queue.
* Nobody shall use msg_* afterward.
*/
msg_Flush( p_vlc );
msg_Destroy( p_libvlc );
/* Destroy mutexes */
vlc_mutex_destroy( &p_vlc->config_lock );
......
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