aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-12-26 06:15:03 +0000
committerMartin K. Petersen <[email protected]>2021-01-06 04:28:11 +0000
commit3b01d7ea4dae907d34fa0eeb3f17bacd714c6d0c (patch)
tree54494555266b1d0d6e434f2fa6b07288ee709dbe /net/unix/af_unix.c
parentscsi: mpt3sas: Fix spelling mistake in Kconfig "compatiblity" -> "compatibility" (diff)
downloadkernel-3b01d7ea4dae907d34fa0eeb3f17bacd714c6d0c.tar.gz
kernel-3b01d7ea4dae907d34fa0eeb3f17bacd714c6d0c.zip
scsi: scsi_debug: Fix memleak in scsi_debug_init()
When sdeb_zbc_model does not match BLK_ZONED_NONE, BLK_ZONED_HA or BLK_ZONED_HM, we should free sdebug_q_arr to prevent memleak. Also there is no need to execute sdebug_erase_store() on failure of sdeb_zbc_model_str(). Link: https://lore.kernel.org/r/[email protected] Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Dinghao Liu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions