[syslinux:master] efi/main.c: don't close handle early

syslinux-bot for Patrick Masotta masottaus at yahoo.com
Sat Jun 27 03:48:08 PDT 2015


Commit-ID:  5186539cdc9e1da92a30f6e9af0832084d3407db
Gitweb:     http://www.syslinux.org/commit/5186539cdc9e1da92a30f6e9af0832084d3407db
Author:     Patrick Masotta <masottaus at yahoo.com>
AuthorDate: Fri, 26 Jun 2015 22:32:18 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 27 Jun 2015 06:46:14 -0400

efi/main.c: don't close handle early

This clause closes the protocol before creating the child

Signed-off-by: Gene Cumm <gene.cumm at gmail.com>

---
 efi/main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/efi/main.c b/efi/main.c
index 6e43f79..adfa98b 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);


More information about the Syslinux-commits mailing list