1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-04 23:46:33 +01:00
Files
u-boot-megous/drivers/pci
Simon Glass d830b1520a dm: pci: Avoid a memory leak when allocating the ROM
Adjust pci_rom_load() to return an indication of whether it allocated
memory or not. Adjust the caller to free it. This fixes a memory leak
when PCI_VGA_RAM_IMAGE_START is not used.

Reported-by: Coverity (CID: 134194)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-01-15 08:09:44 -05:00
..
2016-01-12 10:19:09 -07:00