On 10/6/26 12:56, Marc-André Lureau wrote:
Track the input handled state, and dispose it on unrealize.Also free some allocated fields during unrealize. Signed-off-by: Marc-André Lureau <[email protected]> --- include/hw/input/stellaris_gamepad.h | 2 ++ hw/input/stellaris_gamepad.c | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-)
I'd rather a preliminary patch adding stellaris_gamepad_unrealize() to free the current leaks. Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
