fixed calls to NtDuplicateObject
[reactos.git] / reactos / subsys / win32k / ntuser / csr.c
index c58e69e..b7b0eb9 100644 (file)
@@ -121,7 +121,7 @@ CsrInsertObject(HANDLE ObjectHandle,
                                  CsrProcessHandle,
                                  Handle,
                                  DesiredAccess,
                                  CsrProcessHandle,
                                  Handle,
                                  DesiredAccess,
-                                 TRUE,
+                                 OBJ_INHERIT,
                                  0);
 
       /* Close our handle to CSRSS */
                                  0);
 
       /* Close our handle to CSRSS */