| commit | 9af8a6e8177d6647ddbb8549040c5e6eb648e22e | [log] [tgz] |
|---|---|---|
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu May 06 10:00:10 2021 -0400 |
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu May 06 10:24:06 2021 -0400 |
| tree | 2cea50f382697e4ffe2f872727d8236247eac394 | |
| parent | 4e8e3a4db7d266a782ef2e74a48fc24747709275 [diff] |
libtracefs: Free the regex in update_filter() A regex is used to match functions in update_filter() using the regcomp() functionality. But regcomp() needs to release its resources via regfree() which is lacking in this function. Link: https://lore.kernel.org/linux-trace-devel/20210506100010.483b2374@gandalf.local.home Fixes: 2df4a7ea ("libtracefs: Add checking of available_filter_functions to tracefs_function_filter()") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>