summaryrefslogtreecommitdiffstats
path: root/hw/arm/boot.c
diff options
context:
space:
mode:
authorPeter Maydell2018-12-14 14:30:54 +0100
committerPeter Maydell2018-12-14 14:30:54 +0100
commit0012eb98f165e98ede33b5b57fb1985f1fe224b7 (patch)
tree282ccdaeca9f6cf19ae6fd3c520fcc414ac028cb /hw/arm/boot.c
parenthw/sd/sdhci: Don't leak memory region in sdhci_sysbus_realize() (diff)
downloadqemu-0012eb98f165e98ede33b5b57fb1985f1fe224b7.tar.gz
qemu-0012eb98f165e98ede33b5b57fb1985f1fe224b7.tar.xz
qemu-0012eb98f165e98ede33b5b57fb1985f1fe224b7.zip
tests/test-arm-mptimer: Don't leak string memory
The test-arm-mptimer setup creates a lot of test names using g_strdup_printf() and never frees them. This is entirely harmless since it's one-shot test code, but it clutters up the output from clang's LeakSanitizer. Refactor to use a helper function so we can free the memory. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20181204132952.2601-5-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/boot.c')
0 files changed, 0 insertions, 0 deletions