diff options
author | 2018-04-14 20:06:19 +0800 | |
---|---|---|
committer | 2018-05-03 09:37:50 -0600 | |
commit | 59a2f3f00fd744dbad22593f47552037d3154ca6 (patch) | |
tree | 9d79f052fe5f935e926c0e6664e7c62aeae4056f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bdi: Fix use after free bug in debugfs_remove() (diff) | |
download | wireguard-linux-59a2f3f00fd744dbad22593f47552037d3154ca6.tar.xz wireguard-linux-59a2f3f00fd744dbad22593f47552037d3154ca6.zip |
nvme: fix potential memory leak in option parsing
When specifying same string type option several times,
current option parsing may cause memory leak. Hence,
call kfree for previous one in this case.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions