mirror of https://github.com/acidanthera/audk.git
SecurityPkg TcgMor: Remove wrong comments
and free the HandleBuffer after used. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
8b1943a877
commit
e9dfa1b519
|
@ -23,8 +23,6 @@ UINT8 mMorControl;
|
||||||
/**
|
/**
|
||||||
Ready to Boot Event notification handler.
|
Ready to Boot Event notification handler.
|
||||||
|
|
||||||
Sequence of OS boot events is measured in this event notification handler.
|
|
||||||
|
|
||||||
@param[in] Event Event whose notification function is being invoked
|
@param[in] Event Event whose notification function is being invoked
|
||||||
@param[in] Context Pointer to the notification function's context
|
@param[in] Context Pointer to the notification function's context
|
||||||
|
|
||||||
|
@ -234,9 +232,6 @@ Exit:
|
||||||
/**
|
/**
|
||||||
Notification function of END_OF_DXE.
|
Notification function of END_OF_DXE.
|
||||||
|
|
||||||
This is a notification function registered on END_OF_DXE event.
|
|
||||||
It is to get VarCheckPcdBin.
|
|
||||||
|
|
||||||
@param[in] Event Event whose notification function is being invoked.
|
@param[in] Event Event whose notification function is being invoked.
|
||||||
@param[in] Context Pointer to the notification function's context.
|
@param[in] Context Pointer to the notification function's context.
|
||||||
|
|
||||||
|
@ -299,6 +294,8 @@ TPerResetAtEndOfDxe (
|
||||||
|
|
||||||
InitiateTPerReset (Ssp, BlockIo->Media->MediaId);
|
InitiateTPerReset (Ssp, BlockIo->Media->MediaId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FreePool (HandleBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue