From c671ada6266e1837757e22c372f79a14edff33f8 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 19 Jan 2004 16:18:33 +0000 Subject: [PATCH] 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 --- reactos/ntoskrnl/cm/registry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/cm/registry.c b/reactos/ntoskrnl/cm/registry.c index 07ef5422717..bf658cf42cb 100644 --- a/reactos/ntoskrnl/cm/registry.c +++ b/reactos/ntoskrnl/cm/registry.c @@ -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 * PROJECT: ReactOS kernel @@ -663,7 +663,6 @@ CmiDisconnectHive (IN POBJECT_ATTRIBUTES KeyObjectAttributes, } Hive = KeyObject->RegistryHive; - CmiRemoveKeyFromList (KeyObject); /* Dereference KeyObject twice to delete it */ ObDereferenceObject (KeyObject);