audk/ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib
Ard Biesheuvel 1fe11382db ArmPlatformPkg/PL111LcdArmVExpressLib: fix incorrect FreePool () call
When we fail to modify the memory attributes for the VRAM allocation,
the allocation - which was made using AllocatePages() - is freed using
FreePool(). This is incorrect by itself, but it masks a second bug, i.e.,
that the address of the allocation is not in VramBaseAddress but in
*VramBaseAddress. So fix both issues.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-04-06 21:31:48 +01:00
..
PL111LcdArmVExpress.c ArmPlatformPkg/PL111LcdArmVExpressLib: fix incorrect FreePool () call 2017-04-06 21:31:48 +01:00
PL111LcdArmVExpressLib.inf ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00