summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/Bds/BootOption.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg/Bds/BootOption.c')
-rw-r--r--ArmPlatformPkg/Bds/BootOption.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Bds/BootOption.c b/ArmPlatformPkg/Bds/BootOption.c
index ee0301ef2c..8993cb14a2 100644
--- a/ArmPlatformPkg/Bds/BootOption.c
+++ b/ArmPlatformPkg/Bds/BootOption.c
@@ -86,6 +86,7 @@ BootOptionStart (
(CHAR8*)(LinuxArguments + 1),
FdtDevicePath);
+ FreePool (DefaultFdtDevicePath);
FreePool (FdtDevicePath);
}
} else {