diff options
author | Star Zeng <star.zeng@intel.com> | 2017-12-18 14:19:43 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-12-19 09:34:47 +0800 |
commit | e9dfa1b519cddfb7ceb93706d527ac25f36606c2 (patch) | |
tree | cbc2c891460ad9e2045c5abc121327d7f827bf5f /SecurityPkg | |
parent | 8b1943a8776e0f46b459f2e5f0f980d8dce32fab (diff) | |
download | edk2-e9dfa1b519cddfb7ceb93706d527ac25f36606c2.tar.gz edk2-e9dfa1b519cddfb7ceb93706d527ac25f36606c2.tar.bz2 edk2-e9dfa1b519cddfb7ceb93706d527ac25f36606c2.zip |
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>
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c index e691a084d0..4fc3330c39 100644 --- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c +++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c @@ -23,8 +23,6 @@ UINT8 mMorControl; /**
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] Context Pointer to the notification function's context
@@ -234,9 +232,6 @@ Exit: /**
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] Context Pointer to the notification function's context.
@@ -299,6 +294,8 @@ TPerResetAtEndOfDxe ( InitiateTPerReset (Ssp, BlockIo->Media->MediaId);
}
+
+ FreePool (HandleBuffer);
}
/**
|