]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2fc: fix memory leak in bnx2fc_allocate_hash_table()
authorMaurizio Lombardi <mlombard@redhat.com>
Tue, 1 Apr 2014 11:58:22 +0000 (13:58 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:29:57 +0000 (19:29 +0200)
commit85b2d6fdc9bb900ef826b721b7be04b502dd92b3
tree3a59ba61a666d785b8747c62e96b586f81eab9d1
parent8ec4c6ff5769e1a16f327b902da75a3a06c94ec5
bnx2fc: fix memory leak in bnx2fc_allocate_hash_table()

In case of error, the bnx2fc_allocate_hash_table() didn't free
all the memory it allocated.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Acked-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/bnx2fc/bnx2fc_hwi.c