aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2025-01-09 14:29:37 +0000
committerMasami Hiramatsu (Google) <[email protected]>2025-01-09 23:57:18 +0000
commit30c8fd31c571db486a5331a92d03eb60a0fb277c (patch)
tree2c2cd5279b9cc98af7809d10103a1654c080e332 /tools/net/ynl/pyynl/cli.py
parentLinux 6.13-rc6 (diff)
downloadkernel-30c8fd31c571db486a5331a92d03eb60a0fb277c.tar.gz
kernel-30c8fd31c571db486a5331a92d03eb60a0fb277c.zip
tracing/kprobes: Fix to free objects when failed to copy a symbol
In __trace_kprobe_create(), if something fails it must goto error block to free objects. But when strdup() a symbol, it returns without that. Fix it to goto the error block to free objects correctly. Link: https://lore.kernel.org/all/173643297743.1514810.2408159540454241947.stgit@devnote2/ Fixes: 6212dd29683e ("tracing/kprobes: Use dyn_event framework for kprobe events") Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Reviewed-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions