coreboot/payloads/libpayload/drivers
Martin Roth 05396238da libpayload/drivers: Fix mem-leak in cbmem_console error condition
When returning from cbmem_console_snapshot() because of a corrupted
console structure, the memory that was just allocated was not being
freed as it "should be".

BUG=CID 1419477

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I85370fb49c9ef9a00cd2ea516fa80c9e152c9b48
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88334
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2025-07-08 16:18:25 +00:00
..
i8042
serial
storage libpayload: Add x86_64 (64-bit) support 2024-05-26 01:26:31 +00:00
timer
udc
usb libpayload: usbmsc: Correctly deal with disks larger than 2TB 2025-05-02 23:24:25 +00:00
video cbgfx: Prevent divide-by-zero edge case in Lanczos kernel 2025-05-06 21:04:04 +00:00
cbmem_console.c libpayload/drivers: Fix mem-leak in cbmem_console error condition 2025-07-08 16:18:25 +00:00
hid.c
Makefile.mk
mouse_cursor.c
nvram.c
options.c
pci_io_ops.c
pci_map_bus_ops.c
pci_ops.c
pci_qcom.c
pcie_mediatek.c
speaker.c