Author: sginsberg
Date: Thu Nov 6 13:21:46 2008
New Revision: 37230
URL:
http://svn.reactos.org/svn/reactos?rev=37230&view=rev
Log:
- ASSERTify a hacky workaround -- this shouldn't happen anymore in ros
Modified:
trunk/reactos/ntoskrnl/ob/obref.c
Modified: trunk/reactos/ntoskrnl/ob/obref.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ob/obref.c?rev=37…
==============================================================================
--- trunk/reactos/ntoskrnl/ob/obref.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ob/obref.c [iso-8859-1] Thu Nov 6 13:21:46 2008
@@ -299,11 +299,7 @@
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())