Introduce VLANClientState::cleanup() (Mark McLoughlin)
commita34b6eb776fbd357fb0dfbdbfa680b4f54e12a4c
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Apr 2009 18:06:56 +0000 (17 18:06 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Apr 2009 18:06:56 +0000 (17 18:06 +0000)
tree8bd5b118f5e89f6c2101057eb25a73bb4e1e15c4
parent1ed3d07a22ab918037379b21e92090a7072707bf
Introduce VLANClientState::cleanup() (Mark McLoughlin)

We're currently leaking memory and file descriptors on device
hot-unplug.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10@7160 c046a42c-6fe2-441c-8c8c-71466251a162
18 files changed:
hw/e1000.c
hw/eepro100.c
hw/etraxfs_eth.c
hw/mcf_fec.c
hw/mipsnet.c
hw/musicpal.c
hw/ne2000.c
hw/pcnet.c
hw/rtl8139.c
hw/smc91c111.c
hw/stellaris_enet.c
hw/usb-net.c
hw/virtio-net.c
hw/virtio.c
hw/virtio.h
net.c
net.h
tap-win32.c