Skip to content
Commit 766a957d authored by Christophe Jaillet's avatar Christophe Jaillet Committed by David S. Miller
Browse files

qlcnic: Fix a memory leak in error handling path



If 'dma_alloc_coherent()' fails, we should release resources allocated so
far, just as done in all other cases in this function.

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