]> git.proxmox.com Git - mirror_qemu.git/commit
audio: ac97: add exit function
authorLi Qiang <liqiang6-s@360.cn>
Thu, 15 Dec 2016 02:30:21 +0000 (18:30 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 11 Jan 2017 08:19:03 +0000 (09:19 +0100)
commit12351a91da97b414eec8cdb09f1d9f41e535a401
tree878b65c27830f545cb30984768b2259a5a89c4de
parent069eb7b2b8fc47c7cb52e5a4af23ea98d939e3da
audio: ac97: add exit function

Currently the ac97 device emulation doesn't have a exit function,
hot unplug this device will leak some memory. Add a exit function to
avoid this.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 58520052.4825ed0a.27a71.6cae@mx.google.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/audio/ac97.c