Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] [v2] scsi: scsi_debug: Fix memleak in scsi_debug_init | Date | Thu, 7 Jan 2021 23:19:33 -0500 |
| |
On Sat, 26 Dec 2020 14:15:03 +0800, Dinghao Liu wrote:
> 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().
Applied to 5.11/scsi-fixes, thanks!
[1/1] scsi: scsi_debug: Fix memleak in scsi_debug_init https://git.kernel.org/mkp/scsi/c/3b01d7ea4dae
-- Martin K. Petersen Oracle Linux Engineering
| |