mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[RTL]
- Properly enable validity check in RtlLeaveCriticalSection for debug builds svn path=/trunk/; revision=56954
This commit is contained in:
parent
c487b06067
commit
7d35261d7c
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
#if DBG
|
||||||
HANDLE Thread = (HANDLE)NtCurrentTeb()->ClientId.UniqueThread;
|
HANDLE Thread = (HANDLE)NtCurrentTeb()->ClientId.UniqueThread;
|
||||||
|
|
||||||
/* In win this case isn't checked. However it's a valid check so it should only
|
/* In win this case isn't checked. However it's a valid check so it should only
|
||||||
|
|
Loading…
Reference in a new issue