cxgb4: fix memory leak in init_one()
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 9 Jun 2017 13:56:24 +0000 (19:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 19:52:50 +0000 (15:52 -0400)
commitd0417849152cb5ae08407bcc32b85b55b5b9f591
treecddba2387720b2a9a5ced60967c380a985f2fa35
parent2f3ca449a4f9a54d2bf39c873269e68ad5f34acb
cxgb4: fix memory leak in init_one()

Free up mbox_log allocated for PF0 to PF3.

Fixes: 7829451c695e ("cxgb4: Add control net_device for configuring PCIe VF")
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c