summaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fallback.c b/fallback.c
index e7771db4..341092c8 100644
--- a/fallback.c
+++ b/fallback.c
@@ -733,8 +733,6 @@ find_boot_csv(EFI_FILE_HANDLE fh, CHAR16 *dirname)
if (EFI_ERROR(rc) && rc != EFI_BUFFER_TOO_SMALL) {
Print(L"Could not read \\EFI\\%s\\: %d\n", dirname,
rc);
- if (buffer)
- FreePool(buffer);
return rc;
}
/* If there's no data to read, don't try to allocate 0 bytes