mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
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);
|
Status = DhcpChooseOffer (DhcpSb);
|
||||||
|
|
||||||
if (EFI_ERROR(Status)) {
|
if (EFI_ERROR(Status)) {
|
||||||
FreePool (DhcpSb->LastOffer);
|
if (DhcpSb->LastOffer != NULL) {
|
||||||
DhcpSb->LastOffer = NULL;
|
FreePool (DhcpSb->LastOffer);
|
||||||
|
DhcpSb->LastOffer = NULL;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
goto ON_EXIT;
|
goto ON_EXIT;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user