Commit 2a2e4325 authored by zhangyi (F)'s avatar zhangyi (F) Committed by Xie XiuQi
Browse files

tracing: fix incorrect tracer freeing when opening tracing pipe



euler inclusion
category: bugfix
bugzilla: 9292
CVE: NA
---------------------------

Commit d716ff71 ("tracing: Remove taking of trace_types_lock in
pipe files") use the current tracer instead of the copy in
tracing_open_pipe(), but it forget to remove the freeing sentence in
the error path.

Fixes: d716ff71 ("tracing: Remove taking of trace_types_lock in pipe files")
Signed-off-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: default avatarLi Bin <huawei.libin@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 09aeb01b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment