NTSTATUS Status;
PHHIVE Hive = RegistryHive;
+ UNREFERENCED_PARAMETER(HiveType);
+ UNREFERENCED_PARAMETER(FileName);
+
/*
* Create a new hive structure that will hold all the maintenance data.
*/
}
if (!NT_SUCCESS(Status))
- {
- Hive->Free(Hive, 0);
return Status;
- }
if (Operation != HINIT_CREATE) CmPrepareHive(Hive);