- Free the sub key table in CmiObjectDelete.

svn path=/trunk/; revision=5767
This commit is contained in:
Hartmut Birr 2003-08-22 19:22:19 +00:00
parent 68cb54ddaf
commit 130e0947f7

View file

@ -292,6 +292,15 @@ CmiObjectDelete(PVOID DeletedObject)
CmiSyncHives();
}
}
if (KeyObject->NumberOfSubKeys)
{
KEBUGCHECK(0);
}
if (KeyObject->SizeOfSubKeys)
{
ExFreePool(KeyObject->SubKeys);
}
}