aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2022-07-25 15:12:18 +0000
committerSteven Rostedt (Google) <[email protected]>2022-07-31 21:03:38 +0000
commit4f753c3be52c1d930afc0fe3169baa605dbaf611 (patch)
tree8cd193d81bd146364bc1e8696748f3c13877b9b9 /lib/debugobjects.c
parentrtla: Fix Makefile when called from -C tools/ (diff)
downloadkernel-4f753c3be52c1d930afc0fe3169baa605dbaf611.tar.gz
kernel-4f753c3be52c1d930afc0fe3169baa605dbaf611.zip
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions