diff options
author | 2022-10-26 12:31:33 +0400 | |
---|---|---|
committer | 2022-11-09 14:28:27 +0100 | |
commit | becc4cac309dc867571f0080fde4426a6c2222e0 (patch) | |
tree | 5d3cf283531e5fa848358e7ae66279d364004f23 /drivers/usb/cdns3/cdns3-debug.h | |
parent | nvme: quiet user passthrough command errors (diff) | |
download | linux-dev-becc4cac309dc867571f0080fde4426a6c2222e0.tar.xz linux-dev-becc4cac309dc867571f0080fde4426a6c2222e0.zip |
nvmet: fix memory leak in nvmet_subsys_attr_model_store_locked
Since model_number is allocated before it needs to be freed before
kmemdump_nul.
Reviewed-by: Konstantin Shelekhin <k.shelekhin@yadro.com>
Reviewed-by: Dmitriy Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Aleksandr Miloserdov <a.miloserdov@yadro.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions