util/amdfwutil: Fix adding microcode binaries

Change-Id: I726df4ff97688f4c48961e6e61672cef6c3b7aff
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68573
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Arthur Heymans 2022-10-19 20:08:35 +02:00 committed by Felix Held
parent 3adfeec58f
commit 1cffc55d35
1 changed files with 2 additions and 1 deletions

View File

@ -833,7 +833,8 @@ static void free_bdt_firmware_filenames(amd_bios_entry *fw_table)
if (index->filename &&
index->type != AMD_BIOS_APCB &&
index->type != AMD_BIOS_BIN &&
index->type != AMD_BIOS_APCB_BK)
index->type != AMD_BIOS_APCB_BK &&
index->type != AMD_BIOS_UCODE)
free(index->filename);
}
}