aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coverage/compare_gcov_json.py
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2024-05-07 10:22:39 +0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-09 00:07:21 +0200
commit54c52ec719fb8c83bbde54cb87b58688ab27c166 (patch)
tree9f0c5ed5d2a7748ff561b700ef4684d4a7315d25 /scripts/coverage/compare_gcov_json.py
parenthw/loongarch: move memory map to boot.c (diff)
downloadqemu-54c52ec719fb8c83bbde54cb87b58688ab27c166.tar.xz
qemu-54c52ec719fb8c83bbde54cb87b58688ab27c166.zip
hw/loongarch/virt: Fix memory leak
The char pointer 'ramName' point to a block of memory, but never free it. Use 'g_autofree' to automatically free it. Resolves: Coverity CID 1544773 Fixes: 0cf1478d6 ("hw/loongarch: Add numa support") Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240507022239.3113987-1-gaosong@loongson.cn> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions