Deletion of method namespace objects at method exit

date	2000.02.29.21.36.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:25:04 +00:00
parent 3014973097
commit 67c3b06a74

View File

@ -518,6 +518,15 @@ NsExecuteControlMethod (
*/
Status = AmlExecuteMethod (ObjDesc, Params, ReturnObjDesc);
/*
* Cleanup. We must delete everything in the namespace that was created by
* the execution of this method.
*/
if (MethodEntry->Scope)
{
NsDeleteNamespace (MethodEntry);
}
/* TBD: remove vestiges of old parser */