summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_devicepath_util.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-03-29 09:21:30 -0400
committerTom Rini <trini@konsulko.com>2019-03-29 09:21:30 -0400
commitb357ae5ed697da038d0ee6807f308f9177fcb3a7 (patch)
treea0bdfd1da0b75bd64e7e8f939e1f16ea76a07660 /lib/efi_selftest/efi_selftest_devicepath_util.c
parent1111ff671f65a71f8577fe145b53f1f0c920faa4 (diff)
parent9ba712dc84e8824055c368a385794f69aabab661 (diff)
Merge tag 'efi-2019-04-rc5-2' of git://git.denx.de/u-boot-efi
Pull request for UEFI system for v2019.04-rc5-2 This patch series contains a bug fix for a double free in a UEFI unit test. The other patches are documentation only (except for the definition of two additional constants).
Diffstat (limited to 'lib/efi_selftest/efi_selftest_devicepath_util.c')
-rw-r--r--lib/efi_selftest/efi_selftest_devicepath_util.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/efi_selftest/efi_selftest_devicepath_util.c b/lib/efi_selftest/efi_selftest_devicepath_util.c
index 5fef5cfccd..c846e057d3 100644
--- a/lib/efi_selftest/efi_selftest_devicepath_util.c
+++ b/lib/efi_selftest/efi_selftest_devicepath_util.c
@@ -256,11 +256,6 @@ static int execute(void)
efi_st_error("GetNextDevicePathInstance did not signal end\n");
return EFI_ST_FAILURE;
}
- ret = boottime->free_pool(dp2);
- if (ret != EFI_ST_SUCCESS) {
- efi_st_error("FreePool failed\n");
- return EFI_ST_FAILURE;
- }
/* Clean up */
ret = boottime->free_pool(dp2);