Roll back change r10696, because new update on r10700 and r10701 handles this issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10705 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2010-07-28 01:43:41 +00:00
parent 116b142d86
commit ad108abec9
1 changed files with 3 additions and 15 deletions

View File

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