]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Roll back change r10696, because new update on r10700 and r10701 handles this issue.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 28 Jul 2010 01:43:41 +0000 (01:43 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 28 Jul 2010 01:43:41 +0000 (01:43 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10705 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/DxeNetLib/DxeNetLib.c

index 4bd84c4de7342f0a5db8129e67b69fd704dcb701..c055db2b7741514ffbdae87afebb70a389bada71 100644 (file)
@@ -185,11 +185,7 @@ SyslogLocateSnp (
     Snp = NULL;\r
   }\r
 \r
-  //\r
-  // Handles is allocated by gBS AllocatePool() service. \r
-  // So, gBS FreePool() service is used to free Handles.\r
-  //\r
-  gBS->FreePool (Handles);\r
+  FreePool (Handles);\r
   return Snp;\r
 }\r
 \r
@@ -1642,11 +1638,7 @@ NetGetChildHandle (
               // Found item matched gEfiNicIp4ConfigVariableGuid\r
               //\r
               *ChildHandle = Handles[Index];\r
-              //\r
-              // Handles is allocated by gBS AllocatePool() service. \r
-              // So, gBS FreePool() service is used to free Handles.\r
-              //\r
-              gBS->FreePool (Handles);\r
+              FreePool (Handles);\r
               return EFI_SUCCESS;\r
             }\r
           }\r
@@ -1655,11 +1647,7 @@ NetGetChildHandle (
     }\r
   }\r
 \r
-  //\r
-  // Handles is allocated by gBS AllocatePool() service. \r
-  // So, gBS FreePool() service is used to free Handles.\r
-  //\r
-  gBS->FreePool (Handles);\r
+  FreePool (Handles);\r
   return Status;\r
 }\r
 \r