diff options
| author | Dennis Tseng <dennis.tseng@suse.com> | 2023-06-25 15:07:39 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2023-07-19 16:07:02 -0400 |
| commit | 1e985a3a238100ca5f4bda3e269a9eaec9bda74b (patch) | |
| tree | 92bd8156fc9b79e068b7edf8be67163770cb4c18 /Cryptlib/opensslconf-diff.patch | |
| parent | fd43edacfe1eaa64d1c7b37ba23dae74e05d1a04 (diff) | |
| download | efi-boot-shim-1e985a3a238100ca5f4bda3e269a9eaec9bda74b.tar.gz efi-boot-shim-1e985a3a238100ca5f4bda3e269a9eaec9bda74b.zip | |
Correctly free memory allocated in handle_image()
Currently pe's handle_image() function has two related issues, which are
a memory leak in most error paths and an incorrect FreePool() call in
some error paths.
This patch adds the correct FreePages() calls to most error paths, and
switches the FreePool() call to match them.
[commit message re-written to be more informative by pjones]
Signed-off-by: Dennis Tseng <dennis.tseng@suse.com>
Diffstat (limited to 'Cryptlib/opensslconf-diff.patch')
0 files changed, 0 insertions, 0 deletions
