diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-10-06 17:52:38 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-10-06 17:52:38 -0400 |
| commit | 9201fa9ec69d391d6e1cc179f1e03d0832261351 (patch) | |
| tree | 20a606052edf401e3461517b14d6084770f1a0a1 /MokManager.c | |
| parent | a68a0c7b0340b5010c74e2065dbdc272ffada2e0 (diff) | |
| download | efi-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.c | 2 |
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) { |
