Re: [PATCH 1/7] hw/riscv/virt-acpi-build.c: fix leak in build_rhct()

2024-02-04 Thread Alistair Francis
On Tue, Jan 23, 2024 at 8:16 AM Daniel Henrique Barboza wrote: > > The 'isa' char pointer isn't being freed after use. > > Issue detected by Valgrind: > > ==38752== 128 bytes in 1 blocks are definitely lost in loss record 3,190 of > 3,884 > ==38752==at 0x484280F: malloc (vg_replace_malloc.c:4

[PATCH 1/7] hw/riscv/virt-acpi-build.c: fix leak in build_rhct()

2024-01-22 Thread Daniel Henrique Barboza
The 'isa' char pointer isn't being freed after use. Issue detected by Valgrind: ==38752== 128 bytes in 1 blocks are definitely lost in loss record 3,190 of 3,884 ==38752==at 0x484280F: malloc (vg_replace_malloc.c:442) ==38752==by 0x5189619: g_malloc (gmem.c:130) ==38752==by 0x51A5BF2