diff options
| author | Steve Langasek <steve.langasek@canonical.com> | 2013-09-24 12:05:51 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-09-24 12:05:51 -0400 |
| commit | 5ccacd3a48fb8963826a817b42239142e4764914 (patch) | |
| tree | 82e1bff72cdd83dc530b2d1a689b9e5917a85b8f /netboot.c | |
| parent | 69a54db486b6b01c50d6a43294f881cfc9906268 (diff) | |
| download | efi-boot-shim-5ccacd3a48fb8963826a817b42239142e4764914.tar.gz efi-boot-shim-5ccacd3a48fb8963826a817b42239142e4764914.zip | |
Fix a memory leak
Diffstat (limited to 'netboot.c')
| -rw-r--r-- | netboot.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -355,6 +355,8 @@ try_again: goto try_again; } + if (rc != EFI_SUCCESS && *buffer) { + FreePool(*buffer); + } return rc; - } |
