diff options
author | Solomon Alan-Dei <alandei.solomon@gmail.com> | 2022-10-29 08:30:23 -0600 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-11-08 22:51:36 +0000 |
commit | a2503fa2e9c1c69495c29c4dfb00e7413952523d (patch) | |
tree | 529a6f0d3008c6870537f80c7ead6aaa12c83088 /src/lib/gnat/i-c.ads | |
parent | 37ccb2ce82d1c4782356a569737dd72bf9478db0 (diff) |
util/cbfstool/bpdt_formats: Fix memory leak issues
The functions create_bpdt_hdr and create_cse_layout
in bpdt_1_6.c are defined to return pointers but
not integers as was previouly implemented.
Reported-by: Coverity(CID:1469323)
Reported-by: Coverity(CID:1469353)
Signed-off-by: Solomon Alan-Dei <alandei.solomon@gmail.com>
Change-Id: Idb78d94be7a75a25ad954f062e9e52b1f0b921dc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68986
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/lib/gnat/i-c.ads')
0 files changed, 0 insertions, 0 deletions