mbox series

[0/2] scsi: Fix two possible memory leaks

Message ID 20241026125711.484-1-thunder.leizhen@huawei.com
Headers show
Series scsi: Fix two possible memory leaks | expand

Message

Leizhen (ThunderTown) Oct. 26, 2024, 12:57 p.m. UTC
When "ops->common->sb_init = qed_sb_init" fails, the DMA memory needs to be
explicitly released.

Zhen Lei (2):
  scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
  scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()

 drivers/scsi/qedf/qedf_main.c | 1 +
 drivers/scsi/qedi/qedi_main.c | 1 +
 2 files changed, 2 insertions(+)