]> git.baikalelectronics.ru Git - kernel.git/commit
rtla/osnoise: Free params at the exit
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Fri, 18 Feb 2022 17:57:08 +0000 (18:57 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 26 Feb 2022 02:05:30 +0000 (21:05 -0500)
commit85c5b8ec25e9ee3f54584b3af9d8bc9cf09572a4
treeb8361600a2f1b91cff2dbc382ca48e729f7649a5
parentc743b0c83a86b4f6d0276b695c8b66d0ed22d6de
rtla/osnoise: Free params at the exit

The variable that stores the parsed command line arguments are not
being free()d at the rtla osnoise top exit path.

Free params variable before exiting.

Link: https://lkml.kernel.org/r/0be31d8259c7c53b98a39769d60cfeecd8421785.1645206561.git.bristot@kernel.org
Fixes: 7a1107ec6bab ("rtla/osnoise: Add osnoise top mode")
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/osnoise_top.c