mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
It is generally considered a bad idea to dereference an object after the reference failed..... this fixes another wine test and avoids a bugcheck
svn path=/trunk/; revision=17232
This commit is contained in:
parent
c2a85cd273
commit
fe9647d739
1 changed files with 2 additions and 2 deletions
|
@ -1233,8 +1233,8 @@ NtSetInformationThread (IN HANDLE ThreadHandle,
|
|||
/* Shoult never occure if the data table is correct */
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
ObDereferenceObject (Thread);
|
||||
}
|
||||
ObDereferenceObject (Thread);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue