mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
Do not disconnect a hive root key from its parent key. The object manager will do this when the root key object gets closed.
svn path=/trunk/; revision=7769
This commit is contained in:
parent
6e45aaa48b
commit
c671ada626
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: registry.c,v 1.119 2004/01/12 12:52:27 ekohl Exp $
|
/* $Id: registry.c,v 1.120 2004/01/19 16:18:33 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -663,7 +663,6 @@ CmiDisconnectHive (IN POBJECT_ATTRIBUTES KeyObjectAttributes,
|
||||||
}
|
}
|
||||||
|
|
||||||
Hive = KeyObject->RegistryHive;
|
Hive = KeyObject->RegistryHive;
|
||||||
CmiRemoveKeyFromList (KeyObject);
|
|
||||||
|
|
||||||
/* Dereference KeyObject twice to delete it */
|
/* Dereference KeyObject twice to delete it */
|
||||||
ObDereferenceObject (KeyObject);
|
ObDereferenceObject (KeyObject);
|
||||||
|
|
Loading…
Reference in a new issue