mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Fix csrss shutdown/cleanup
svn path=/trunk/; revision=13705
This commit is contained in:
parent
065eb0823f
commit
9eacf9de6f
1 changed files with 9 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue