Clear NTEs as they are deleted

date	2000.05.08.16.02.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:19:05 +00:00
parent d502443186
commit 78c790147d

View File

@ -224,6 +224,12 @@ NsDeleteNamespaceSubtree (
CmRemoveReference (ObjDesc);
}
/* Clear the NTE in case this scope is reused (e.g., a control method scope) */
ChildHandle->Type = ACPI_TYPE_Any;
ChildHandle->Name = 0;
/* Check if this object has any children */
if (NsGetNextObject (ACPI_TYPE_Any, ChildHandle, 0))