There are several memory leaks in QEMU which are caused by calling
qemu_allocate_irqs.

Some of these leaks are fixed here in the 2nd and 3rd patch.
More can be fixed using the same pattern.

The first patch adds a new function which avoids unnecessary
memory allocation.

[PATCH 1/3] irq: Add new function qemu_init_irqs
[PATCH 2/3] hw/arm_timer: Fix memory leak (detected by Valgrind)
[PATCH 3/3] hw/spitz: Fix memory leaks (detected by Valgrind)

Regards

Stefan Weil

Reply via email to