Skip to content
Commit 05cf97e7 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

cnic: Fix an error handling path in 'cnic_alloc_bnx2x_resc()'



All the error handling paths 'goto error', except this one.
We should also go to error in this case, or some resources will be
leaking.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cd4175b1
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