switch-coreboot/payloads
Julius Werner e10e635726 UPSTREAM: libpayload: cbfs: Fix minor memory leak in some edge cases
cbfs_get_handle() allocates memory for a handle and doesn't free it if
it errors out later, leaving the memory permanently leaked. Fix.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16207
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>

Change-Id: Ide198105ce3ad6237672ff152b4490c768909564
Reviewed-on: https://chromium-review.googlesource.com/369153
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-15 07:36:11 -07:00
..
bayou UPSTREAM: bayou: delete pbuilder utility 2016-08-04 23:36:49 -07:00
coreinfo UPSTREAM: payloads/coreinfo: Set KCONFIG_CONFIG value 2016-08-11 12:24:06 -07:00
external UPSTREAM: Use VBOOT_SOURCE instead of hardcoding vboot path 2016-08-12 18:28:03 -07:00
libpayload UPSTREAM: libpayload: cbfs: Fix minor memory leak in some edge cases 2016-08-15 07:36:11 -07:00
nvramcui UPSTREAM: nvramcui: Update Makefile 2016-06-30 23:10:29 -07:00
Kconfig UPSTREAM: payloads: add Kconfig option for bayou 2016-08-14 15:11:13 -07:00
Makefile.inc UPSTREAM: tint: Fix tint and add Kconfig option 2016-06-28 17:17:08 -07:00