commit | 8db403b9631331ef1d5e302cdf353c48849ca9d5 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Apr 11 12:21:54 2021 +0200 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Apr 13 12:29:48 2021 -0400 |
tree | 11f5e5ed9f38818139a405731d05ba759ae8b693 | |
parent | 9deb193af69d3fd6dd8e47f292b67c805a787010 [diff] |
tracing/dynevent: Fix a memory leak in an error handling path We must free 'argv' before returning, as already done in all the other paths of this function. Link: https://lkml.kernel.org/r/21e3594ccd7fc88c5c162c98450409190f304327.1618136448.git.christophe.jaillet@wanadoo.fr Fixes: d262271d0483 ("tracing/dynevent: Delegate parsing to create function") Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>