diff options
author | Andreas Schwab <[email protected]> | 2022-07-25 17:12:18 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-07-31 17:03:38 -0400 |
commit | 4f753c3be52c1d930afc0fe3169baa605dbaf611 (patch) | |
tree | 8cd193d81bd146364bc1e8696748f3c13877b9b9 /scripts/gdb/linux/rbtree.py | |
parent | c7d8a598c5b1e21a0957f5dec2ef4139d2d1a23a (diff) |
rtla: Fix double free
Avoid double free by making trace_instance_destroy indempotent. When
trace_instance_init fails, it calls trace_instance_destroy, but its only
caller osnoise_destroy_tool calls it again.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 0605bf009f18 ("rtla: Add osnoise tool")
Signed-off-by: Andreas Schwab <[email protected]>
Acked-by: Daniel Bristot de Oliveira <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions