diff options
| -rw-r--r-- | lib/simple_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/simple_file.c b/lib/simple_file.c index f22852d4..43b2f87a 100644 --- a/lib/simple_file.c +++ b/lib/simple_file.c @@ -184,7 +184,7 @@ simple_volume_selector(CHAR16 **title, CHAR16 **selected, EFI_HANDLE *h) if (!count || !vol_handles) return EFI_NOT_FOUND; - entries = AllocatePool(sizeof(CHAR16 *) * (count+1)); + entries = AllocateZeroPool(sizeof(CHAR16 *) * (count+1)); if (!entries) return EFI_OUT_OF_RESOURCES; |
