diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 62590641897d..8fc3f3c137f8 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c @@ -8476,6 +8476,8 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) pci_disable_device(pdev); err_out: + kfree(bp->temp_stats_blk); + return rc; }