diff options
author | Grzegorz Bernacki <bernacki@google.com> | 2023-04-25 15:37:57 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-06-02 21:49:45 +0000 |
commit | 4aa31ac3f974df74976ee4f970a90ea14ca617f6 (patch) | |
tree | 29a6f06b07a568e1a9b4f2fcb9ea4bbdb58664c5 /util/docker | |
parent | e6b4597fefae3e4fd30e66c522e0e57753b03813 (diff) |
soc/amd/common/block/graphics: Add missing pci_rom_free()
pci_rom_probe() can allocate memory when mapping a CBFS
file, so pci_rom_free() should be called before leaving
the function.
BUG=b:278264488
TEST=Build and run with additional debug prints added
to confirm that data are correctly unmapped
Change-Id: Ie6fbbfd36f0974551befef4d08423a8148e151e7
Signed-off-by: Grzegorz Bernacki <bernacki@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74779
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Himanshu Sahdev <himanshu.sahdev@intel.com>
Diffstat (limited to 'util/docker')
0 files changed, 0 insertions, 0 deletions