projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d11125
)
- ASSERTify a hacky workaround -- this shouldn't happen anymore in ros
author
Stefan Ginsberg
<stefanginsberg@gmail.com>
Thu, 6 Nov 2008 19:21:46 +0000
(19:21 +0000)
committer
Stefan Ginsberg
<stefanginsberg@gmail.com>
Thu, 6 Nov 2008 19:21:46 +0000
(19:21 +0000)
svn path=/trunk/; revision=37230
reactos/ntoskrnl/ob/obref.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ob/obref.c
b/reactos/ntoskrnl/ob/obref.c
index
eaa4523
..
4f8cf42
100644
(file)
--- a/
reactos/ntoskrnl/ob/obref.c
+++ b/
reactos/ntoskrnl/ob/obref.c
@@
-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())