mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
- ASSERTify a hacky workaround -- this shouldn't happen anymore in ros
svn path=/trunk/; revision=37230
This commit is contained in:
parent
9d11125a93
commit
87658f5321
1 changed files with 1 additions and 5 deletions
|
@ -299,11 +299,7 @@ ObfDereferenceObject(IN PVOID Object)
|
|||
if (!OldCount)
|
||||
{
|
||||
/* Sanity check */
|
||||
if (Header->HandleCount)
|
||||
{
|
||||
DPRINT1("Misbehaving object: %wZ\n", &Header->Type->Name);
|
||||
return Header->PointerCount;
|
||||
}
|
||||
ASSERT(Header->HandleCount == 0);
|
||||
|
||||
/* Check if APCs are still active */
|
||||
if (!KeAreAllApcsDisabled())
|
||||
|
|
Loading…
Reference in a new issue