Fix csrss shutdown/cleanup

svn path=/trunk/; revision=13705
This commit is contained in:
Gé van Geldorp 2005-02-21 17:42:23 +00:00
parent 065eb0823f
commit 9eacf9de6f

View file

@ -813,11 +813,15 @@ IntGetWinStaObj(VOID)
KernelMode,
0,
&WinStaObj);
if(!NT_SUCCESS(Status))
{
SetLastNtError(Status);
return NULL;
}
if(!NT_SUCCESS(Status))
{
SetLastNtError(Status);
return NULL;
}
}
else
{
WinStaObj = NULL;
}
return WinStaObj;