summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-10-06 17:52:38 -0400
committerMatthew Garrett <mjg@redhat.com>2012-10-06 17:52:38 -0400
commit9201fa9ec69d391d6e1cc179f1e03d0832261351 (patch)
tree20a606052edf401e3461517b14d6084770f1a0a1 /MokManager.c
parenta68a0c7b0340b5010c74e2065dbdc272ffada2e0 (diff)
downloadefi-boot-shim-9201fa9ec69d391d6e1cc179f1e03d0832261351.tar.gz
efi-boot-shim-9201fa9ec69d391d6e1cc179f1e03d0832261351.zip
Disable menu freeing
This looks like it ought to work, but is currently failing. Leaking here isn't a big deal, so just disable it until I figure out what's wrong.
Diffstat (limited to 'MokManager.c')
-rw-r--r--MokManager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MokManager.c b/MokManager.c
index c4b7944c..4c736d16 100644
--- a/MokManager.c
+++ b/MokManager.c
@@ -617,12 +617,14 @@ static void draw_menu (struct menu_item *items, UINTN count) {
static void free_menu (struct menu_item *items, UINTN count) {
UINTN i;
+#if 0
for (i=0; i<count; i++) {
if (items[i].text)
FreePool(items[i].text);
}
FreePool(items);
+#endif
}
static void run_menu (struct menu_item *items, UINTN count) {