The isa_register_portio_list() function allocates ioports data/state. Let's keep the reference to this data on some owner. This isn't enough to fix leaks, but at least, ASAN stops complaining of direct leaks. Further cleanup would require calling portio_list_del/destroy(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| apm.c | ||
| i82378.c | ||
| isa-bus.c | ||
| lpc_ich9.c | ||
| pc87312.c | ||
| piix4.c | ||
| trace-events | ||
| vt82c686.c | ||