diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-11-01 10:12:20 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-11-01 10:12:20 -0400 |
| commit | 53feaa0152cf2b8e8d62b98a471a915c19f34544 (patch) | |
| tree | 46251f46631fc9ea9ad521a49fe99a38163057dc | |
| parent | 24a602b6145a86b0fc4c789f7a4a0bdfe5afdefa (diff) | |
| download | efi-boot-shim-53feaa0152cf2b8e8d62b98a471a915c19f34544.tar.gz efi-boot-shim-53feaa0152cf2b8e8d62b98a471a915c19f34544.zip | |
Fix double free
load_image() didn't allocate PathName, don't have it free it.
| -rw-r--r-- | shim.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -976,8 +976,7 @@ error: FreePool(*data); *data = NULL; } - if (PathName) - FreePool(PathName); + if (fileinfo) FreePool(fileinfo); return efi_status; |
