Home
last modified time | relevance | path

Searched hist:d830b1520a720a19e4bbaa3d928e85115429c132 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_rom.cd830b1520a720a19e4bbaa3d928e85115429c132 Fri Jan 15 12:23:22 UTC 2016 Simon Glass <sjg@chromium.org> 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>