From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> While running valgrind to test the new attach command, it discovered that the follow strings in the handle were never freed. Free them. Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> --- lib/trace-cmd/trace-input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c index 865721ae50b6..145c02eeb718 100644 --- a/lib/trace-cmd/trace-input.c +++ b/lib/trace-cmd/trace-input.c @@ -4942,6 +4942,8 @@ void tracecmd_close(struct tracecmd_input *handle) free(handle->trace_clock); free(handle->strings); free(handle->version); + free(handle->followers); + free(handle->missed_followers); trace_guest_map_free(handle->map); close(handle->fd); free(handle->latz.chunks); -- 2.39.2