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:
Alex Ionescu 2005-08-09 06:28:23 +00:00
parent c2a85cd273
commit fe9647d739

View file

@ -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;
} }