mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
efi_selftest: avoid double free in dp utilities test
Avoid duplicate FreePool() in unit test for the device patch utilities protocol. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
2b9b9cdd5f
commit
d0826507e2
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue