Patch by Filip Navara: Remove the call to HvFree, as the hive was not initialized

svn path=/trunk/; revision=23522
This commit is contained in:
Hervé Poussineau 2006-08-08 09:31:19 +00:00
parent 4d64dd44c6
commit 6889ad333c

View file

@ -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;
}