]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
SecurityPkg TcgMor: Remove wrong comments
[mirror_edk2.git] / SecurityPkg / Tcg / MemoryOverwriteControl / TcgMor.c
index e691a084d0edd5f952c3b056a3717317fc9e0197..4fc3330c3964d0d2851537d5aedcc09cd88df3c5 100644 (file)
@@ -23,8 +23,6 @@ UINT8    mMorControl;
 /**\r
   Ready to Boot Event notification handler.\r
 \r
-  Sequence of OS boot events is measured in this event notification handler.\r
-\r
   @param[in]  Event     Event whose notification function is being invoked\r
   @param[in]  Context   Pointer to the notification function's context\r
 \r
@@ -234,9 +232,6 @@ Exit:
 /**\r
   Notification function of END_OF_DXE.\r
 \r
-  This is a notification function registered on END_OF_DXE event.\r
-  It is to get VarCheckPcdBin.\r
-\r
   @param[in] Event      Event whose notification function is being invoked.\r
   @param[in] Context    Pointer to the notification function's context.\r
 \r
@@ -299,6 +294,8 @@ TPerResetAtEndOfDxe (
 \r
     InitiateTPerReset (Ssp, BlockIo->Media->MediaId);\r
   }\r
+\r
+  FreePool (HandleBuffer);\r
 }\r
 \r
 /**\r