Files
system76-coreboot/util
Sol Boucher 3e060ed112 cbfstool: Fix leak in cbfs_image struct initialization
This patches a memory leak on every struct cbfs_image creation that
was introduced by c1d1fd850e. Since that
commit, the CBFS master header has been copied to a separate buffer so
that its endianness could be fixed all at once; unfortunately, this
buffer was malloc()'d but never free()'d. To address the issue, we
replace the structure's struct cbfs_header * with a struct cbfs_header
to eliminate the additional allocation.

Change-Id: Ie066c6d4b80ad452b366a2a95092ed45aa55d91f
Signed-off-by: Sol Boucher <solb@chromium.org>
Reviewed-on: http://review.coreboot.org/10130
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-05-08 20:23:23 +02:00
..
2015-05-04 15:16:59 +02:00
2015-04-30 01:33:10 +02:00
2015-03-26 03:33:46 +01:00
2015-05-04 22:26:09 +02:00
2015-05-08 20:05:02 +02:00
2015-04-25 12:16:58 +02:00
2014-09-06 09:21:07 +02:00
2014-10-07 21:03:25 +02:00
2015-05-06 19:38:18 +02:00
2013-06-12 05:18:24 +02:00
2015-05-06 19:10:32 +02:00