diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-02-19 12:35:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 18:33:38 +0300 |
commit | 766a957df9f51479cb5c7212d19b282da5ca6f07 (patch) | |
tree | 9d558ebc18274569a7d02971dc5b8fbbcaeb558e /net | |
parent | 177c8d1c96eb9851210313922a12ae8b0b63d8c0 (diff) | |
download | linux-766a957df9f51479cb5c7212d19b282da5ca6f07.tar.xz |
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions