diff options
author | Chaitanya Kulkarni <[email protected]> | 2023-04-28 00:31:13 -0700 |
---|---|---|
committer | Keith Busch <[email protected]> | 2023-06-12 10:33:02 -0700 |
commit | 99c2dcc8ffc24e210a3aa05c204d92f3ef460b05 (patch) | |
tree | 474000d671f2cee7f7af163910e61ee59e9f8536 /drivers/fpga/fpga-bridge.c | |
parent | a836ca33c5b07d34dd5347af9f64d25651d12674 (diff) |
nvme-core: fix memory leak in dhchap_ctrl_secret
Free dhchap_secret in nvme_ctrl_dhchap_ctrl_secret_store() before we
return when nvme_auth_generate_key() returns error.
Fixes: f50fff73d620 ("nvme: implement In-Band authentication")
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions