]> Git Repo - qemu.git/commit
hw/net/xen_nic.c: Need free 'netdev->nic' in net_free() instead of net_disconnect()
authorChen Gang <[email protected]>
Tue, 16 Dec 2014 20:52:16 +0000 (04:52 +0800)
committerStefan Hajnoczi <[email protected]>
Mon, 12 Jan 2015 10:16:23 +0000 (10:16 +0000)
commitd46858377b822b820946c6b2e3a9153ee0aebd37
tree1a4880c7ae3842ecd30c0fb7b8a23c06ea5d29d0
parentb4f72e31b924bec2c18fe0b2a8c6462dbed9dcb2
hw/net/xen_nic.c: Need free 'netdev->nic' in net_free() instead of net_disconnect()

net_init() and net_free() are pairs, net_connect() and net_disconnect()
are pairs. net_init() creates 'netdev->nic', so also need free it in
net_free().

Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/net/xen_nic.c
This page took 0.02671 seconds and 4 git commands to generate.