]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Have error path in predicate_parse() free its allocated memory
authorNavid Emamdoost <navid.emamdoost@gmail.com>
Fri, 20 Sep 2019 22:57:59 +0000 (17:57 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 28 Sep 2019 21:13:39 +0000 (17:13 -0400)
commitcec425cf0e37c03bf76a57f40ad8cf4a4636f527
tree70a42fe11bc971e3048624439a8d7c7ef11a9004
parent70cbdc7bc8b14befe23dc5bd0c4a229b54f7af04
tracing: Have error path in predicate_parse() free its allocated memory

In predicate_parse, there is an error path that is not going to
out_free instead it returns directly which leads to a memory leak.

Link: http://lkml.kernel.org/r/20190920225800.3870-1-navid.emamdoost@gmail.com
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c