Author: ion
Date: Sun Feb 19 09:54:41 2012
New Revision: 55703
URL:
http://svn.reactos.org/svn/reactos?rev=55703&view=rev
Log:
[CSRSRV2]: Bugfix, don't dereference the thread instead of referencing it!
Modified:
trunk/reactos/subsystems/csr/csrsrv/api.c
Modified: trunk/reactos/subsystems/csr/csrsrv/api.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/csr/csrsrv/api.…
==============================================================================
--- trunk/reactos/subsystems/csr/csrsrv/api.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/csr/csrsrv/api.c [iso-8859-1] Sun Feb 19 09:54:41 2012
@@ -720,7 +720,7 @@
}
/* We got an API Request */
- CsrDereferenceThread(CsrThread);
+ CsrLockedReferenceThread(CsrThread);
CsrReleaseProcessLock();
/* This is an API call, get the Server ID */