
15 Jan
2016
15 Jan
'16
1:32 p.m.
On Fri, Jan 15, 2016 at 05:23:22AM -0700, Simon Glass wrote:
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: Tom Rini trini@konsulko.com Signed-off-by: Simon Glass sjg@chromium.org
Reported-by: Coverity (CID: 134194) Reviewed-by: Tom Rini trini@konsulko.com
--
Tom