summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netboot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/netboot.c b/netboot.c
index cc43b729..90fb9cba 100644
--- a/netboot.c
+++ b/netboot.c
@@ -106,6 +106,11 @@ try_again:
goto try_again;
}
+ if (status == EFI_NOT_FOUND) {
+ FreePool(buffer);
+ return FALSE;
+ }
+
/*
* We have a list of pxe supporting protocols, lets see if any are
* active