diff options
| author | Gary Ching-Pang Lin <glin@suse.com> | 2013-07-05 10:57:16 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-09-26 11:58:02 -0400 |
| commit | 804f8f7797e1f0515759d700f02c042f38bc44b5 (patch) | |
| tree | e7895bcb05d0ef3219716bc4640ee343e956cb5d | |
| parent | f6d1f6aa3238d9ec8798458bdd6f87691e81a11b (diff) | |
| download | efi-boot-shim-804f8f7797e1f0515759d700f02c042f38bc44b5.tar.gz efi-boot-shim-804f8f7797e1f0515759d700f02c042f38bc44b5.zip | |
Free unused memory space
| -rw-r--r-- | shim.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -643,6 +643,9 @@ static EFI_STATUS verify_mok (void) { return status; } + if (MokListData) + FreePool(MokListData); + return EFI_SUCCESS; } @@ -1421,6 +1424,8 @@ static EFI_STATUS check_mok_sb (void) } } + FreePool(MokSBState); + return status; } |
