Updated CmUpdateObjectReference() calls to appropriate

CmAdd/RemoveReference


date	2000.05.01.16.42.00;	author mwalz;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:20:27 +00:00
parent 01130f1594
commit 257c15f30d

View File

@ -328,7 +328,7 @@ AmlExecCreateField (
/* An additional reference for SrcDesc */
CmUpdateObjectReference (SrcDesc, REF_INCREMENT);
CmAddReference (SrcDesc);
break;
@ -488,7 +488,7 @@ AmlExecCreateAlias (
/* Add an additional reference to the object */
CmUpdateObjectReference (SrcEntry->Object, REF_INCREMENT);
CmAddReference (SrcEntry->Object);
/*
* Attach the original source NTE to the new Alias NTE.