Re: [PATCH -next] scsi: snic: fix double free in snic_tgt_create()

From: Martin K. Petersen
Date: Thu Aug 24 2023 - 22:33:50 EST



> put_device(&tgt->dev) will call snic_tgt_dev_release() in which
> kfree(tgt) is called, so tgt is freed twice

OK, I get it. Thanks!

--
Martin K. Petersen Oracle Linux Engineering