diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-21 10:37:41 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-10-27 10:44:02 +0000 |
commit | 2b323087b546553408c69dd6e92c5d492a49b003 (patch) | |
tree | e6ff4c0f730b968fcbec5d9523e02dcc02bdf5f5 /util/host-utils.c | |
parent | 069175bfd821a9ef16b0110b92b2b6116f981fc0 (diff) | |
download | qemu-2b323087b546553408c69dd6e92c5d492a49b003.zip qemu-2b323087b546553408c69dd6e92c5d492a49b003.tar.gz qemu-2b323087b546553408c69dd6e92c5d492a49b003.tar.bz2 |
linux-user/elfload: Avoid leaking interp_name using GLib memory API
Fix an unlikely memory leak in load_elf_image().
Fixes: bf858897b7 ("linux-user: Re-use load_elf_image for the main binary.")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20201021173749.111103-5-richard.henderson@linaro.org
Message-Id: <20201003174944.1972444-1-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util/host-utils.c')
0 files changed, 0 insertions, 0 deletions