mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[MKHIVE]
Fix memory leak svn path=/trunk/; revision=53769
This commit is contained in:
@@ -84,6 +84,7 @@ CreateInMemoryStructure(
|
||||
Key->KeyCell = (PCM_KEY_NODE)HvGetCell (&RegistryHive->Hive, Key->KeyCellOffset);
|
||||
if (!Key->KeyCell)
|
||||
{
|
||||
free(Key->Name);
|
||||
free(Key);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user