On 2026-09-29 5:16, [email protected] wrote:
From: Portia Stephens <[email protected]>
dw8250_instance_init() creates two references for serial_mm, one from
qdev_new() and one from object_property_add_child() which leaks the
serial_mm object. Fix embedding the SerialMM struct in the DW8250State.
Signed-off-by: Portia Stephens <[email protected]>
---
hw/char/dw8250.c | 11 +++++------
include/hw/char/dw8250.h | 3 ++-
2 files changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>