[coreboot-gerrit] Change in ...coreboot[master]: lib: Prevent memory leak on error path