diff options
author | Chaitanya Kulkarni <kch@nvidia.com> | 2023-04-28 10:31:13 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2023-06-12 20:33:02 +0300 |
commit | 99c2dcc8ffc24e210a3aa05c204d92f3ef460b05 (patch) | |
tree | 474000d671f2cee7f7af163910e61ee59e9f8536 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a836ca33c5b07d34dd5347af9f64d25651d12674 (diff) | |
download | linux-99c2dcc8ffc24e210a3aa05c204d92f3ef460b05.tar.xz |
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 <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions