- Fix another critical bug in ObInsertObject: don't overwrite the lookup status with...
authorAlex Ionescu <aionescu@gmail.com>
Tue, 27 Jun 2006 01:52:16 +0000 (01:52 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Tue, 27 Jun 2006 01:52:16 +0000 (01:52 +0000)
commit7c3d15c5f9114b769b8f9268f281b1092fa46bc8
treed16e3abe0b77fe4459316429b6e20fd9044ebfcf
parente498da59d9153ca38402327575a7339da9c004be
- Fix another critical bug in ObInsertObject: don't overwrite the lookup status with the handle creation status. If the lookup returned something like OBJECT_NAME_EXISTS (which is a success + warning), we don't want to overwrite it with ObpCreateHandle's STATUS_SUCCESS. This should fix a large number of regressions (and also fixes many WINE ntdll "om" tests).
- We also now correctly dereference the object in ObInsertObject, which should reduce one source of leaks (But there is still one). OTOH, this makes the Cm code crash at shutdown (I'll fix this ASAP, this fix is worth having atm.)

svn path=/trunk/; revision=22651
reactos/ntoskrnl/ob/obhandle.c