diff options
author | 2017-01-31 13:17:19 +0100 | |
---|---|---|
committer | 2017-01-31 08:32:13 -0700 | |
commit | deccf5a52ea59843f5575cb49fe532c7cb8801e4 (patch) | |
tree | df3f3a3bcd511def21dcd451cde36c002f1b4ceb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | lightnvm: Add CRC read error (diff) | |
download | wireguard-linux-deccf5a52ea59843f5575cb49fe532c7cb8801e4.tar.xz wireguard-linux-deccf5a52ea59843f5575cb49fe532c7cb8801e4.zip |
lightnvm: free properly on target creation error
Fix a memory leak when target creation fails. More specifically, free
the entire device structure given to the target (tgt_dev).
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions