mirror of https://github.com/acidanthera/audk.git
Fixed tracker #203752, Dhcp4 assert issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10562 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4548fc2aaa
commit
39669f1281
|
@ -1516,8 +1516,10 @@ DhcpOnTimerTick (
|
|||
Status = DhcpChooseOffer (DhcpSb);
|
||||
|
||||
if (EFI_ERROR(Status)) {
|
||||
FreePool (DhcpSb->LastOffer);
|
||||
DhcpSb->LastOffer = NULL;
|
||||
if (DhcpSb->LastOffer != NULL) {
|
||||
FreePool (DhcpSb->LastOffer);
|
||||
DhcpSb->LastOffer = NULL;
|
||||
}
|
||||
} else {
|
||||
goto ON_EXIT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue