[libvirt PATCH 0/1] qemu: Fix memory leaks in firmware selection code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux