- Fix crash in msg test_interthread_message test. Noticed it once and not sure how to track it.

svn path=/trunk/; revision=51282
This commit is contained in:
James Tabor 2011-04-08 18:48:28 +00:00
parent a6586c33b1
commit efe3b7a684

View file

@ -407,6 +407,11 @@ UserDereferenceObject(PVOID object)
{
entry = handle_to_entry(gHandleTable, ((PHEAD)object)->h );
if (!entry)
{
DPRINT1("warning! Dereference Object without ENTRY! Obj -> 0x%x\n", object);
return FALSE;
}
DPRINT("warning! Dereference to zero! Obj -> 0x%x\n", object);
((PHEAD)object)->cLockObj = 0;