projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[RTL] Fix failure check in RtlpCreateCriticalSectionSem.
[reactos.git]
/
sdk
/
lib
/
rtl
/
critical.c
diff --git
a/sdk/lib/rtl/critical.c
b/sdk/lib/rtl/critical.c
index
ff0d1a9
..
1f247f5
100644
(file)
--- a/
sdk/lib/rtl/critical.c
+++ b/
sdk/lib/rtl/critical.c
@@
-80,7
+80,7
@@
RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
NULL) != NULL)
{
/* Someone else just created an event */
- if (hEvent != INVALID_HANDLE_VALUE)
+ if (h
New
Event != INVALID_HANDLE_VALUE)
{
DPRINT("Closing already created event: %p\n", hNewEvent);
NtClose(hNewEvent);