commit | fb92e349a98e6bc76a0ee2feb5f9740c37bc68b3 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Mar 19 18:44:05 2019 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Mar 20 18:16:53 2019 +0100 |
tree | 4898780f1422ad7fb6a03ad0b309fabea5e8c2ba | |
parent | 793a6250a1b2db51ea770a84debafc27ccf86192 [diff] |
efi_loader: memory leak in efi_dump_single_var() A misplaced return statement lead to a memory leak in efi_dump_single_var(). Reported-by: Coverity (CID 185829) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c index ca32566..e65b38d 100644 --- a/cmd/nvedit_efi.c +++ b/cmd/nvedit_efi.c
@@ -80,7 +80,6 @@ printf(", DataSize = 0x%zx\n", size); print_hex_dump(" ", DUMP_PREFIX_OFFSET, 16, 1, data, size, true); - return; out: free(data); }