Skip to content
Commit 6706ccf8 authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar
Browse files

perf tools: Fix memory leak in read_ftrace_printk()



get_tracing_file() should be paired with put_tracing_file().

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Acked-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4AB1F48F.4070807@cn.fujitsu.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 40749d0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment