aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Masotta <masottaus@yahoo.com>2015-06-26 22:32:18 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-06-27 06:46:14 -0400
commit5186539cdc9e1da92a30f6e9af0832084d3407db (patch)
treeae9f7329fe5679fd36375b6f3885c43720dc1f94
parenta440fc625606e5cc3201ac9589c5ea8bb61819f3 (diff)
downloadsyslinux-5186539cdc9e1da92a30f6e9af0832084d3407db.tar.gz
syslinux-5186539cdc9e1da92a30f6e9af0832084d3407db.tar.xz
syslinux-5186539cdc9e1da92a30f6e9af0832084d3407db.zip
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/efi/main.c b/efi/main.c
index 6e43f791..adfa98b0 100644
--- a/efi/main.c
+++ b/efi/main.c
@@ -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);