summaryrefslogtreecommitdiff
path: root/test/cmd_ut.c
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2016-10-01 21:32:29 (GMT)
committerAlexander Graf <agraf@suse.de>2016-10-18 07:08:08 (GMT)
commit511d0b97ef709d13da4922fb694d55ef9a5ef641 (patch)
tree19fdb61edb3780ea70efa16b418fad2143dde9a2 /test/cmd_ut.c
parentb6a951727504d4159467ac98434849f81aaf9ffa (diff)
downloadu-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