Re: [PATCH] nubus: fix memory leak in nubus_bridge_init()

2022-04-02 Thread Mark Cave-Ayland
On 02/04/2022 16:47, Laurent Vivier wrote: Move qbus_init() to a realize function. Leak detected by valgrind: QTEST_QEMU_BINARY="valgrind --leak-check=full \ --show-leak-kinds=definite ./qemu-system-m68k" \ tests/qtest/device-introspect-test \ -p /m68k/device/introspect/concrete/de

[PATCH] nubus: fix memory leak in nubus_bridge_init()

2022-04-02 Thread Laurent Vivier
Move qbus_init() to a realize function. Leak detected by valgrind: QTEST_QEMU_BINARY="valgrind --leak-check=full \ --show-leak-kinds=definite ./qemu-system-m68k" \ tests/qtest/device-introspect-test \ -p /m68k/device/introspect/concrete/defaults/none ... ==606164== 6 bytes in 1 blocks