aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2022-07-25 17:12:18 +0200
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-07-31 17:03:38 -0400
commit4f753c3be52c1d930afc0fe3169baa605dbaf611 (patch)
tree8cd193d81bd146364bc1e8696748f3c13877b9b9 /scripts/patch-kernel
parentrtla: Fix Makefile when called from -C tools/ (diff)
downloadlinux-rng-4f753c3be52c1d930afc0fe3169baa605dbaf611.tar.xz
linux-rng-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/mvmilnlkyzx.fsf_-_@suse.de Fixes: 0605bf009f18 ("rtla: Add osnoise tool") Signed-off-by: Andreas Schwab <schwab@suse.de> Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions