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
// 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
}\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