From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> tracecmd_tsync_free() already frees the tsync, remove the free of it after that is called. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- lib/trace-cmd/trace-timesync.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/trace-cmd/trace-timesync.c b/lib/trace-cmd/trace-timesync.c index e860c335..ad73f08f 100644 --- a/lib/trace-cmd/trace-timesync.c +++ b/lib/trace-cmd/trace-timesync.c @@ -887,7 +887,6 @@ static void *tsync_agent_thread(void *data) out: tracecmd_msg_handle_close(tsync->msg_handle); tracecmd_tsync_free(tsync); - free(tsync); close(sd); pthread_exit(0); -- 2.29.2