diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-04-01 12:45:25 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-04-02 09:51:25 -0400 |
commit | 2c9ee74a6d6166d0f31f00841cde16a2915fffcb (patch) | |
tree | ccfb3582ff24516822997961f2d5f64ab03ceb02 /rust/helpers/err.c | |
parent | b81ff11c21af688fc8435aad1e5c1463beff8c2d (diff) |
tracing: Free module_delta on freeing of persistent ring buffer
If a persistent ring buffer is created, a "module_delta" array is also
allocated to hold the module deltas of loaded modules that match modules
in the scratch area. If this buffer gets freed, the module_delta array is
not freed and causes a memory leak.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20250401124525.1f9ac02a@gandalf.local.home
Fixes: 35a380ddbc65 ("tracing: Show last module text symbols in the stacktrace")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions