]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/Library/ArmDmaLib: Deallocate Map buffer in case of error
authorDaniil Egranov <daniil.egranov@arm.com>
Tue, 15 Nov 2016 13:24:40 +0000 (13:24 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 15 Nov 2016 13:24:40 +0000 (13:24 +0000)
commit84083b12f234b62fb133d8c47ee4ab95f3b0eef9
tree0216c1c04363896ff6ef63ca308089137fd065bc
parentc0cb1e1a72bccb5c83d7a36a8e52a38002b18671
ArmPkg/Library/ArmDmaLib: Deallocate Map buffer in case of error

The patch is fixing memory leak in case of errors.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daniil Egranov <daniil.egranov@arm.com>
Tested-by; Ryan Harkin <ryan.harkin@linaro.org>

Style fixes: use goto for error handling, whitespace fixes

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Library/ArmDmaLib/ArmDmaLib.c