[CSRSRV]: Take a refernece to the client thread since we are dereffing it...

svn path=/trunk/; revision=55705
This commit is contained in:
Alex Ionescu 2012-02-19 10:00:47 +00:00
parent f34ec165f6
commit 55e9cddf05

View file

@ -1189,6 +1189,7 @@ ClientConnectionThread(IN PVOID Parameter)
Request->Header.ClientId.UniqueThread);
}
//DPRINT1("Thread found: %p %p\n", Thread, Process);
if (Thread) CsrLockedReferenceThread(Thread);
if (Thread) NtCurrentTeb()->CsrClientThread = Thread;