From 6889ad333c243f09d4743f09d96357d2f2ab0fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 8 Aug 2006 09:31:19 +0000 Subject: [PATCH] Patch by Filip Navara: Remove the call to HvFree, as the hive was not initialized svn path=/trunk/; revision=23522 --- reactos/ntoskrnl/cm/regfile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/ntoskrnl/cm/regfile.c b/reactos/ntoskrnl/cm/regfile.c index 2ab89c6197d..8d834670639 100644 --- a/reactos/ntoskrnl/cm/regfile.c +++ b/reactos/ntoskrnl/cm/regfile.c @@ -697,7 +697,6 @@ CmiLoadHive(IN POBJECT_ATTRIBUTES KeyObjectAttributes, if (!NT_SUCCESS (Status)) { DPRINT1 ("CmiInitNonVolatileRegistryHive() failed (Status %lx)\n", Status); - HvFree (Hive->Hive); ExFreePool (Hive); return Status; }