[WIN32CSR]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 23 Jul 2012 20:25:11 +0000 (20:25 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 23 Jul 2012 20:25:11 +0000 (20:25 +0000)
- Do not leave critical section twice in Win32CsrReleaseConsole. Patch by Hermès Bélusca
See issue #6622 for more details.

svn path=/trunk/; revision=56955

reactos/win32ss/user/win32csr/handle.c

index eeed766..1b3201d 100644 (file)
@@ -160,7 +160,6 @@ Win32CsrReleaseConsole(
             ConioDeleteConsole(&Console->Header);
         //CloseHandle(ProcessData->ConsoleEvent);
         //ProcessData->ConsoleEvent = NULL;
-        RtlLeaveCriticalSection(&ProcessData->HandleTableLock);
     }
     RtlLeaveCriticalSection(&ProcessData->HandleTableLock);
 }