mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
bf7249df9c
commit
2c9abfd5bb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user