Skip to content
Snippets Groups Projects
Commit c21a911c authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard
Browse files

Added a missing LeaveCriticalSection.

parent d753a999
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,7 @@ MESSAGEQUEUE *QUEUE_Lock( HQUEUE16 hQueue )
/***********************************************************************
* QUEUE_Unlock
*
* Use with QUEUE_Lock to get a thread safe acces to message queue
* Use with QUEUE_Lock to get a thread safe access to message queue
* structure
*/
void QUEUE_Unlock( MESSAGEQUEUE *queue )
......@@ -848,6 +848,7 @@ SMSG *QUEUE_RemoveSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg )
else
{
ERR( sendmsg, "should always remove the top one in Pending list, smsg=0x%p queue=0x%p", smsg, queue);
LeaveCriticalSection( &queue->cSection );
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment