efi_selftest: reduce noise in test output for device trees
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 20 Jan 2018 19:44:10 +0000 (20:44 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:10:20 +0000 (23:10 +0100)
commit003876d4694f1bfdfe6ff9ff0799fda9257cb652
tree540fb08c6bedb9a5efdb5c9381c5d9e6cd4afdbf
parent9dfd84da8ce930d3f0522213945f7bb59b57ddb2
efi_selftest: reduce noise in test output for device trees

Some messages are only useful if an error occurs.
Fix a use after free.
Add a missing free.

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