diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-04-02 17:33:44 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-04-02 17:33:44 +0000 |
commit | 79480c8d7c3f3e6f10ed7853ce8bace30503899f (patch) | |
tree | 09352232ba5e867170b6e54b883992f5f3168f3e /EmbeddedPkg/Application | |
parent | d8dc9f0af56c68492d8a1be52efc1a711d3497f4 (diff) | |
download | edk2-platforms-79480c8d7c3f3e6f10ed7853ce8bace30503899f.tar.xz |
ArmPlatformPkg: Fixed memory leak after calling GetEnvironmentVariable()
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15428 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Application')
-rw-r--r-- | EmbeddedPkg/Application/AndroidFastboot/Arm/BootAndroidBootImg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EmbeddedPkg/Application/AndroidFastboot/Arm/BootAndroidBootImg.c b/EmbeddedPkg/Application/AndroidFastboot/Arm/BootAndroidBootImg.c index 6f4b66beeb..04ad9c05db 100644 --- a/EmbeddedPkg/Application/AndroidFastboot/Arm/BootAndroidBootImg.c +++ b/EmbeddedPkg/Application/AndroidFastboot/Arm/BootAndroidBootImg.c @@ -118,6 +118,8 @@ BootAndroidBootImg ( FreePool (RamdiskDevicePath);
}
+ FreePool (FdtDevicePath);
+
// If we got here we do a confused face because BootLinuxFdt returned,
// reporting success.
DEBUG ((EFI_D_ERROR, "WARNING: BdsBootLinuxFdt returned EFI_SUCCESS.\n"));
|