efi_loader: memory leak in efi_dump_single_var()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 19 Mar 2019 17:44:05 +0000 (18:44 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 20 Mar 2019 17:16:53 +0000 (18:16 +0100)
commit1fd7a4764103781e424ef687034da06de3cb60b7
tree4898780f1422ad7fb6a03ad0b309fabea5e8c2ba
parente7dae584b05feaf507c5b85a704a2c1d25abffc9
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>
cmd/nvedit_efi.c