diff options
author | Chengguang Xu <[email protected]> | 2018-04-14 20:06:19 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-05-03 09:37:50 -0600 |
commit | 59a2f3f00fd744dbad22593f47552037d3154ca6 (patch) | |
tree | 9d79f052fe5f935e926c0e6664e7c62aeae4056f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f53823c18131e755905b4f654196fd2cc3953f6e (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions