[PATCH 0/2] trace-cmd library: Fix memory leak in tracecmd_close()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

While writing the trace-cmd analyze command, I ran valgrind on it and found
that tracecmd_close() does not clean up the page_maps that were created, at
least not when reading a v6 file.

Steven Rostedt (Google) (2):
  trace-cmd library: Use cpu_data variable to shorten commands
  trace-cmd library: Fix memory leak of page_maps

 lib/trace-cmd/trace-input.c | 37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)

-- 
2.35.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux