Don't close the handle if the write back does fail (in NtOpenProcessTokenEx).
Modified: trunk/reactos/ntoskrnl/ps/process.c

Modified: trunk/reactos/ntoskrnl/ps/process.c
--- trunk/reactos/ntoskrnl/ps/process.c	2005-03-17 19:03:55 UTC (rev 14163)
+++ trunk/reactos/ntoskrnl/ps/process.c	2005-03-17 19:35:16 UTC (rev 14164)
@@ -255,10 +255,6 @@
          Status = _SEH_GetExceptionCode();
        }
        _SEH_END;
-       if (!NT_SUCCESS(Status))
-       {
-         NtClose(hToken);
-       }
      }
    }