mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
fixed memory leak
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1890 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bdbd7676fd
commit
3aee288bc8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue