Commit 3703ebe4 authored by wangweidong's avatar wangweidong Committed by David S. Miller

BNX2: free temp_stats_blk on error path

In bnx2_init_board, missing free temp_stats_blk on error path when
some operations do failed. Just add the 'kfree' operation.
Signed-off-by: default avatarWang Weidong <>
Signed-off-by: default avatarDavid S. Miller <>
parent 76973dd7
......@@ -8476,6 +8476,8 @@ err_out_disable:
return rc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment