projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c487b06
)
[RTL]
author
Thomas Faber
<thomas.faber@reactos.org>
Mon, 23 Jul 2012 20:24:34 +0000
(20:24 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Mon, 23 Jul 2012 20:24:34 +0000
(20:24 +0000)
- Properly enable validity check in RtlLeaveCriticalSection for debug builds
svn path=/trunk/; revision=56954
reactos/lib/rtl/critical.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/critical.c
b/reactos/lib/rtl/critical.c
index
d640c0c
..
9bff77f
100644
(file)
--- a/
reactos/lib/rtl/critical.c
+++ b/
reactos/lib/rtl/critical.c
@@
-613,7
+613,7
@@
NTSTATUS
NTAPI
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
{
-#if
ndef NDEBU
G
+#if
DB
G
HANDLE Thread = (HANDLE)NtCurrentTeb()->ClientId.UniqueThread;
/* In win this case isn't checked. However it's a valid check so it should only