+4
−4
Loading
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 <gang.chen.5i5j@gmail.com> Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>