[coreboot-gerrit] Change in coreboot[master]: Fix potential NULL pointer dereferences and memory leak.