aboutsummaryrefslogtreecommitdiff
path: root/elf_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf_ops.h')
-rw-r--r--elf_ops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf_ops.h b/elf_ops.h
index 4da755e..122bf10 100644
--- a/elf_ops.h
+++ b/elf_ops.h
@@ -195,6 +195,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend,
data = NULL;
}
}
+ qemu_free(phdr);
return total_size;
fail:
qemu_free(data);