aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-03-08 17:03:02 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-03-18 10:55:15 +0000
commit75f7ba165cea75594eb6bd5210119abe0d4c198a (patch)
treec2e3c0f93540c44692bbce77f25ea5c28ae7f71f /hw/xtensa
parent9a09273f3324c37f05e9af505cb788a6d1f546c4 (diff)
downloadqemu-75f7ba165cea75594eb6bd5210119abe0d4c198a.zip
qemu-75f7ba165cea75594eb6bd5210119abe0d4c198a.tar.gz
qemu-75f7ba165cea75594eb6bd5210119abe0d4c198a.tar.bz2
hw/misc/npcm7xx_clk: Don't leak string in npcm7xx_clk_sel_init()
In npcm7xx_clk_sel_init() we allocate a string with g_strdup_printf(). Use g_autofree so we free it rather than leaking it. (Detected with the clang leak sanitizer.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20220308170302.2582820-1-peter.maydell@linaro.org
Diffstat (limited to 'hw/xtensa')
0 files changed, 0 insertions, 0 deletions