commit | 4e9ad8de062edf30ab96c83422ab310e3b65cac2 | [log] [tgz] |
---|---|---|
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | Sat Oct 01 23:32:29 2016 +0200 |
committer | Alexander Graf <agraf@suse.de> | Tue Oct 18 09:08:08 2016 +0200 |
tree | 19fdb61edb3780ea70efa16b418fad2143dde9a2 | |
parent | 9d65651fdbe52b83e62bcae3de4df8ff636bc884 [diff] |
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>