diff options
author | Furquan Shaikh <furquan@google.com> | 2016-08-05 08:20:37 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-08-08 13:02:07 +0200 |
commit | 7b405178f413099b877742bb5f14cf9c73be5e84 (patch) | |
tree | 67dff8227fe6ccf3e4a988c6883693e55bb1faee /util/cbfstool/cbfs-mkpayload.c | |
parent | b927bec09a09d96e44247b16fb1171efe6744f65 (diff) |
cbfstool/cbfs_image: Fix resource leak for segs
Free segs whenever returning from cbfs_payload_make_elf()
Change-Id: I0dd722dd488723cecffe1f5621244bb0344056a6
Signed-off-by: Furquan Shaikh <furquan@google.com>
Found-by: Coverity Scan # 1361268
Reviewed-on: https://review.coreboot.org/16072
Tested-by: build bot (Jenkins)
Reviewed-by: Antonello Dettori <dev@dettori.io>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool/cbfs-mkpayload.c')
0 files changed, 0 insertions, 0 deletions