mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:52:56 +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 */
|
/* Shoult never occure if the data table is correct */
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
ObDereferenceObject (Thread);
|
ObDereferenceObject (Thread);
|
||||||
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue