summaryrefslogtreecommitdiff
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-12-26 21:31:51 +0100
committerJames Bottomley <JBottomley@Parallels.com>2013-01-30 10:48:50 +1100
commit02db3db5aaa1154a748a7cba93e9f0098ad62f78 (patch)
treeb927c5f2bbb73b670a51180076327a16e5418e22 /drivers/scsi/ipr.h
parent2b82d825a5fc94c79e7d2a7c54b0cb2d22817cc0 (diff)
[SCSI] csiostor: Don't leak mem or fail to release firmware in csio_hw_flash_config()
If kzalloc() or csio_hw_check_fwconfig() fail we may leave the csio_hw_flash_config() function without freeing allocated memory or firmware. This should take care of the leaks. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Acked-by: Naresh Kumar Inna <naresh@chelsio.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions