Skip to content
Commit 7d17d689 authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Michael Roth
Browse files

portio: keep references on portio



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: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit e305a165)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 345f1cd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment