commit | e305a16510afa74eec20390479e349402e55ef4c | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Wed Jul 13 02:11:59 2016 +0200 |
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | Thu Sep 08 18:05:21 2016 +0400 |
tree | a7b169b1ea91349fb47db68c74e66d635a11e518 | |
parent | bd794065ffffe10721b6a95f1db52f2cc7953196 [diff] |
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: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>