Reported when building with gcc and clang both.
==10909==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 128 byte(s) in 4 object(s) allocated from:
#0 0x7f191d4a2808 in __interceptor_malloc
../../../../src/libsanitizer/asan/asan_malloc_linux.cc:144
#1 0x7f191987ae98 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x57e98)
SUMMARY: AddressSanitizer: 128 byte(s) leaked in 4 allocation(s).
This patch is a requirement for pushing my recent improvements to
firmware selection[1] without further degrading the CI pipeline.
[1]
https://listman.redhat.com/archives/libvir-list/2023-March/238890.html
Andrea Bolognani (1):
qemu: Fix memory leaks in firmware selection code
src/qemu/qemu_firmware.c | 4 ++++
1 file changed, 4 insertions(+)
--
2.39.2