aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-02 20:54:12 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-02 20:54:12 +0000
commit3aee288bc8e120bd022cbfede2aaf2b2a7ab1dcc (patch)
tree3f984e4046245ffe7ffc4a0a1847b3fd47f0bdb9 /elf_ops.h
parentuppercase fix (Anthony Liguori) (diff)
downloadqemu-kvm-3aee288bc8e120bd022cbfede2aaf2b2a7ab1dcc.tar.gz
qemu-kvm-3aee288bc8e120bd022cbfede2aaf2b2a7ab1dcc.tar.bz2
qemu-kvm-3aee288bc8e120bd022cbfede2aaf2b2a7ab1dcc.zip
fixed memory leak
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1890 c046a42c-6fe2-441c-8c8c-71466251a162
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 4da755e1b..122bf10c1 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);