summaryrefslogtreecommitdiff
path: root/sound/isa/wss/wss_lib.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-12-11 07:58:01 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-12-11 21:50:28 +0300
commit2840f84f74035e5a535959d5f17269c69fa6edc5 (patch)
treed34045c522b96a57bd2ca29c089cf6df8d9d6b6e /sound/isa/wss/wss_lib.c
parent3cec638b3d793b7cacdec5b8072364b41caeb0e1 (diff)
downloadlinux-2840f84f74035e5a535959d5f17269c69fa6edc5.tar.xz
tracing: Fix memory leak of instance function hash filters
The following commands will cause a memory leak: # cd /sys/kernel/tracing # mkdir instances/foo # echo schedule > instance/foo/set_ftrace_filter # rmdir instances/foo The reason is that the hashes that hold the filters to set_ftrace_filter and set_ftrace_notrace are not freed if they contain any data on the instance and the instance is removed. Found by kmemleak detector. Cc: stable@vger.kernel.org Fixes: 591dffdade9f ("ftrace: Allow for function tracing instance to filter functions") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'sound/isa/wss/wss_lib.c')
0 files changed, 0 insertions, 0 deletions