NetworkPkg/Ip4Dxe: fix NetLibDestroyServiceChild() call

Both NetLibDestroyServiceChild() and EFI_SERVICE_BINDING_DESTROY_CHILD
take an EFI_HANDLE for the "ChildHandle" parameter, not an (EFI_HANDLE*).

This patch fixes a real bug.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
This commit is contained in:
Laszlo Ersek 2019-09-07 14:25:43 +02:00
parent bf7249df9c
commit 2c9abfd5bb
1 changed files with 2 additions and 2 deletions

View File

@ -592,7 +592,7 @@ Ip4SetAddress (
Interface->Controller,
Interface->Image,
&gEfiArpServiceBindingProtocolGuid,
&Interface->ArpHandle
Interface->ArpHandle
);
Interface->ArpHandle = NULL;
@ -657,7 +657,7 @@ ON_ERROR:
Interface->Controller,
Interface->Image,
&gEfiArpServiceBindingProtocolGuid,
&Interface->ArpHandle
Interface->ArpHandle
);
return Status;