Message ID | 20240109205112.74225-2-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | f43b293378663639985f41f325a9b8c3bdeff52b |
Headers | show |
Series | libtracefs: More updates and fixes to mmap code | expand |
diff --git a/src/tracefs-record.c b/src/tracefs-record.c index f51e18420bc7..4a59c61c195f 100644 --- a/src/tracefs-record.c +++ b/src/tracefs-record.c @@ -276,6 +276,7 @@ void tracefs_cpu_free_fd(struct tracefs_cpu *tcpu) close_fd(tcpu->splice_pipe[0]); close_fd(tcpu->splice_pipe[1]); + trace_unmap(tcpu->mapping); kbuffer_free(tcpu->kbuf); free(tcpu); }