aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-01-23 08:34:45 -0800
committerMartin K. Petersen <[email protected]>2017-01-24 17:20:31 -0500
commit27873de99f2fecca0f6b257316489ef2a1d86ffd (patch)
tree2b027c16a093f251498197be0f50a4fab22d461a /lib/netdev-notifier-error-inject.c
parent773c7220e22d193e5667c352fcbf8d47eefc817f (diff)
scsi: qla2xxx: Fix a recently introduced memory leak
qla2x00_probe_one() allocates IRQs before it initializes rsp_q_map so IRQs must be freed even if rsp_q_map allocation did not occur. This was detected by kmemleak. Fixes: 4fa183455988 ("scsi: qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls") Signed-off-by: Bart Van Assche <[email protected]> Cc: Michael Hernandez <[email protected]> Cc: Himanshu Madhani <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-By: Himanshu Madhani <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions