summaryrefslogtreecommitdiff
path: root/util/amdfwtool/amdfwtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/amdfwtool/amdfwtool.c')
-rw-r--r--util/amdfwtool/amdfwtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 555265891f..389be9f0bc 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -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);
}
}