diff options
author | Alexey Khoroshilov <[email protected]> | 2014-10-01 22:58:35 +0200 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2014-10-05 20:03:38 -0400 |
commit | 56ec16cb1e1ce46354de8511eef962a417c32c92 (patch) | |
tree | bdc75b4c2fc10dd0087fdf05b47739902acf52f2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0e825862f3c04cee40e25f55680333728a4ffa9b (diff) |
dm log userspace: fix memory leak in dm_ulog_tfr_init failure path
If cn_add_callback() fails in dm_ulog_tfr_init(), it does not
deallocate prealloced memory but calls cn_del_callback().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Reviewed-by: Jonathan Brassow <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions