summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/GenFvImage/GenFvImageExe.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/CCode/Source/GenFvImage/GenFvImageExe.c')
-rw-r--r--Tools/CCode/Source/GenFvImage/GenFvImageExe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/CCode/Source/GenFvImage/GenFvImageExe.c b/Tools/CCode/Source/GenFvImage/GenFvImageExe.c
index ce56299f1f..f5a5179559 100644
--- a/Tools/CCode/Source/GenFvImage/GenFvImageExe.c
+++ b/Tools/CCode/Source/GenFvImage/GenFvImageExe.c
@@ -215,6 +215,11 @@ Returns:
&SymFileName
);
+ //
+ // free InfFileImage memory
+ //
+ free (InfFileImage);
+
if (EFI_ERROR (Status)) {
switch (Status) {