aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-10-09 13:12:13 +0200
committerJens Axboe <[email protected]>2018-10-09 08:25:08 -0600
commita70985f83c625a5eaf618be81621e5e4521a66c6 (patch)
tree43ba48e94d8a631a52eda2ef14c5abf107e1c8e8 /tools/perf/util/c++/clang.cpp
parent6fd05cad5ee1290b276dd8ed90a1e019b1fa577a (diff)
lightnvm: pblk: fix error handling of pblk_lines_init()
In the too many bad blocks error handling case, we should release all the allocated resources, otherwise it will cause memory leak. Fixes: 2deeefc02dff ("lightnvm: pblk: fail gracefully on line alloc. failure") Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Hans Holmberg <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions