Attention is currently required from: Light. Hello build bot (Jenkins), Anastasia Klimchuk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/62724
to look at the new patch set (#5).
Change subject: pony_spi.c: Fix memory leak in function pony_init_spi ......................................................................
pony_spi.c: Fix memory leak in function pony_init_spi
I found the issue by running scan-build. Memory leaked was caused as data variable wasn't deallocated in some error cases where the function returned without deallocatiing it. After making the changes the issue was no longer appeared in scan-build.
Change-Id: I7910db94f63693e7f131836d4963e88cfdbec301 Signed-off-by: Aarya Chaumal aarya.chaumal@gmail.com --- M pony_spi.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/24/62724/5