mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
Don't try to release mutex with NULL handle. Also prevent releasing the same mutex twice.
svn path=/trunk/; revision=14168
This commit is contained in:
@@ -456,7 +456,8 @@ VOID WINAPI OutputDebugStringA(LPCSTR _OutputString)
|
||||
if(hDBMonDataReady) CloseHandle(hDBMonDataReady);
|
||||
|
||||
/* leave the critical section */
|
||||
ReleaseMutex(hDBMonMutex);
|
||||
if(hDBMonDataReady != NULL)
|
||||
ReleaseMutex(hDBMonMutex);
|
||||
#if 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user