]> Git Repo - qemu.git/commit - hw/block/fdc.c
portio: keep references on portio
authorMarc-André Lureau <[email protected]>
Wed, 13 Jul 2016 00:11:59 +0000 (02:11 +0200)
committerMarc-André Lureau <[email protected]>
Thu, 8 Sep 2016 14:05:21 +0000 (18:05 +0400)
commite305a16510afa74eec20390479e349402e55ef4c
treea7b169b1ea91349fb47db68c74e66d635a11e518
parentbd794065ffffe10721b6a95f1db52f2cc7953196
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 <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
hw/audio/gus.c
hw/audio/sb16.c
hw/block/fdc.c
hw/char/parallel.c
hw/display/vga-isa.c
hw/dma/i8257.c
hw/ide/core.c
hw/isa/isa-bus.c
include/hw/ide/internal.h
include/hw/isa/i8257.h
include/hw/isa/isa.h
This page took 0.027404 seconds and 4 git commands to generate.