Commit 6ee349c9 authored by Damien Fouilleul's avatar Damien Fouilleul

messages.c: message bank lock is still in use and still needs initializing :)

parent 097b4c8e
......@@ -72,6 +72,8 @@ static void CreateMsgQueue( vlc_object_t *p_this, int i_queue );
*/
void __msg_Create( vlc_object_t *p_this )
{
vlc_mutex_init( p_this, &(p_this->p_libvlc->msg_bank.lock) );
CreateMsgQueue( p_this, MSG_QUEUE_NORMAL );
CreateMsgQueue( p_this, MSG_QUEUE_HTTPD_ACCESS );
......@@ -147,6 +149,7 @@ void __msg_Destroy( vlc_object_t *p_this )
/* Destroy lock */
vlc_mutex_destroy( &p_queue->lock );
}
vlc_mutex_destroy( &(p_this->p_libvlc->msg_bank.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