diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2016-10-01 21:32:29 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-10-18 07:08:08 (GMT) |
commit | 511d0b97ef709d13da4922fb694d55ef9a5ef641 (patch) | |
tree | 19fdb61edb3780ea70efa16b418fad2143dde9a2 /test/cmd_ut.c | |
parent | b6a951727504d4159467ac98434849f81aaf9ffa (diff) | |
download | u-boot-fsl-qoriq-511d0b97ef709d13da4922fb694d55ef9a5ef641.tar.xz |
efi_loader: Do not leak memory when unlinking a mapping
As soon as a mapping is unlinked from the list, there are no further
references to it, so it should be freed. If it not unlinked,
update the start address and length.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'test/cmd_ut.c')
0 files changed, 0 insertions, 0 deletions