diff options
| author | Gary Ching-Pang Lin <glin@suse.com> | 2013-09-26 11:58:02 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-09-26 11:58:02 -0400 |
| commit | ca2e00d0670cc08e2460d6586df669bc3396abcf (patch) | |
| tree | e7895bcb05d0ef3219716bc4640ee343e956cb5d | |
| parent | 87bcb40438e3575acce8f2759aadf924adbf2c48 (diff) | |
| download | efi-boot-shim-ca2e00d0670cc08e2460d6586df669bc3396abcf.tar.gz efi-boot-shim-ca2e00d0670cc08e2460d6586df669bc3396abcf.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; } |
