summaryrefslogtreecommitdiffstats
path: root/sound/ac97_bus.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-01-23 17:34:45 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-01-24 23:20:31 +0100
commit27873de99f2fecca0f6b257316489ef2a1d86ffd (patch)
tree2b027c16a093f251498197be0f50a4fab22d461a /sound/ac97_bus.c
parentscsi: virtio_scsi: Reject commands when virtqueue is broken (diff)
downloadlinux-27873de99f2fecca0f6b257316489ef2a1d86ffd.tar.xz
linux-27873de99f2fecca0f6b257316489ef2a1d86ffd.zip
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 <bart.vanassche@sandisk.com> Cc: Michael Hernandez <michael.hernandez@cavium.com> Cc: Himanshu Madhani <himanshu.madhani@cavium.com> Cc: Christoph Hellwig <hch@lst.de> Cc: <stable@vger.kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-By: Himanshu Madhani <himanshu.madhani@cavium.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions