aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons/Lesson_54/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Lessons/Lesson_54/README.md')
-rw-r--r--Lessons/Lesson_54/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lessons/Lesson_54/README.md b/Lessons/Lesson_54/README.md
index 0be4a74..4970bfc 100644
--- a/Lessons/Lesson_54/README.md
+++ b/Lessons/Lesson_54/README.md
@@ -123,8 +123,8 @@ UefiMain (
EFI_STRING String = HiiGetString(*Handle, i, "en-US");
if (String != NULL) {
Print(L"ID=%d, %s\n", i, String);
+ FreePool(String);
}
- FreePool(String);
}
return EFI_SUCCESS;
}