diff options
author | Patrick Masotta <masottaus@yahoo.com> | 2015-06-26 22:32:18 -0400 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2015-06-27 06:46:14 -0400 |
commit | 5186539cdc9e1da92a30f6e9af0832084d3407db (patch) | |
tree | ae9f7329fe5679fd36375b6f3885c43720dc1f94 | |
parent | a440fc625606e5cc3201ac9589c5ea8bb61819f3 (diff) | |
download | syslinux-5186539cdc9e1da92a30f6e9af0832084d3407db.tar.gz |
efi/main.c: don't close handle early
This clause closes the protocol before creating the child
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r-- | efi/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -59,9 +59,6 @@ struct efi_binding *efi_create_binding(EFI_GUID *bguid, EFI_GUID *pguid) if (status != EFI_SUCCESS) goto free_binding; - uefi_call_wrapper(BS->CloseProtocol, 4, pxe_handle, bguid, - image_handle, pxe_handle); - child = NULL; status = uefi_call_wrapper(sbp->CreateChild, 2, sbp, (EFI_HANDLE *)&child); |