diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-26 12:17:53 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-08-02 10:00:58 +0000 |
commit | 43d07f75cf001b49422470ba63ea1d0afb049ea4 (patch) | |
tree | a5022a4c135c22522acbb1eb2136496157880e33 /src/lib/cbmem_console.c | |
parent | 25f9dcb6854c86fe4f84bcbe20e4bb65e61bf041 (diff) |
vc/cavium/bdk/libbdk-hal: Fix eye data memory leak
This function can capture and allocate its own eye data, so in that case
set need_free to true so it is freed at the end.
Change-Id: I63ca6d743e6610d3e3ab6bd7b0356aabdfa6f784
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1393969
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34591
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/lib/cbmem_console.c')
0 files changed, 0 insertions, 0 deletions