]> git.proxmox.com Git - qemu.git/commit
vmxnet3: fix NICState cleanup
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 4 Jun 2013 12:47:26 +0000 (14:47 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 5 Jun 2013 09:18:19 +0000 (11:18 +0200)
commit3ffee3cd5fb29de2115bdcbde0a02f47ce69a24c
treeb79c6f0418dac3bb8d9357f2f13875fa964a022e
parent8819c10b5d55d537d59a0ffd5d623f348fc36c47
vmxnet3: fix NICState cleanup

Use qemu_del_nic() instead of qemu_del_net_client() to correctly free
the entire NICState.

Cc: qemu-stable@nongnu.org
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/vmxnet3.c