Message ID | 20250401124525.1f9ac02a@gandalf.local.home (mailing list archive) |
---|---|
State | Queued |
Headers | show |
Series | tracing: Free module_delta on freeing of persistent ring buffer | expand |
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 103b193875b3..de6d7f0e6206 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -9609,6 +9609,7 @@ static void free_trace_buffers(struct trace_array *tr) return; free_trace_buffer(&tr->array_buffer); + kfree(tr->module_delta); #ifdef CONFIG_TRACER_MAX_TRACE free_trace_buffer(&tr->max_buffer);