efi_loader: memory leak in efi_set_bootdev()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 16 Sep 2018 05:20:21 +0000 (07:20 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:30 +0000 (21:55 +0200)
commit79276eb2430d02c84a31fc5613e41aba05429184
treedeef3a84866c349a04c63fc2051be9e8ce040dff
parent8887acc68565cad187808db55cd4284385891b87
efi_loader: memory leak in efi_set_bootdev()

efi_set_bootdev() may be called repeatedly.
Free the memory allocated for device paths in previous calls.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c