- Fix the last two Ob reference counting bugs:
authorAlex Ionescu <aionescu@gmail.com>
Thu, 29 Jun 2006 18:07:53 +0000 (18:07 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 29 Jun 2006 18:07:53 +0000 (18:07 +0000)
commitec719832c06093805ebfc210650b771c3afe71c0
tree35728ccaf5308ef2b976ea96bfbb9d11849fe464
parent0e79c3011a853db3a04d37860252c4eca3fae921
- Fix the last two Ob reference counting bugs:
  - Don't de-reference the object when duplicating it (not sure why this was left there). This fixes all the "misbehaving object: Event" messages in the console and fixes those regressions.
  - Don't reference the object when doing a lookup (not sure why this was there either). This made it impossible to kill named objects, since ObpDeleteNameCheck did a lookup before killing them, and the lookup ended up adding a reference.
- Cm still needs fixing!

svn path=/trunk/; revision=22692
reactos/include/ndk/rtlfuncs.h
reactos/ntoskrnl/ob/obdir.c
reactos/ntoskrnl/ob/obhandle.c
reactos/ntoskrnl/ob/obname.c
reactos/ntoskrnl/ob/obref.c