diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2011-01-24 19:00:47 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-24 15:40:37 +0200 |
commit | be7052c2a8f667f1dc42b06afcebb964ee0b03ff (patch) | |
tree | 3b1ec2077adf7c20ff0e3631c2af703f87585451 /microblaze-dis.c | |
parent | e10990c3f0c39e92ab5f74004b89a24fcc36fa14 (diff) | |
download | qemu-be7052c2a8f667f1dc42b06afcebb964ee0b03ff.tar.gz qemu-be7052c2a8f667f1dc42b06afcebb964ee0b03ff.tar.bz2 qemu-be7052c2a8f667f1dc42b06afcebb964ee0b03ff.zip |
pci: memory leak of PCIDevice::rom_file
PCIDevice::rom_file is leaked.
PCIDevice::rom_file is allocated in pci_qdev_init(), but not freed anywhere.
free it in qemu_unregister_device().
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'microblaze-dis.c')
0 files changed, 0 insertions, 0 deletions