projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lttng command line UI: fix allocation/free
[lttng-tools.git]
/
lttng
/
commands
/
start.c
diff --git
a/lttng/commands/start.c
b/lttng/commands/start.c
index 1a3e568ed6df10115f90313c6ce9b9ee894539ed..e9423170e8773e2a99dd6544f8efe0ad0719aeaf 100644
(file)
--- a/
lttng/commands/start.c
+++ b/
lttng/commands/start.c
@@
-85,7
+85,9
@@
static int start_tracing(void)
MSG("Tracing started for session %s", session_name);
free_name:
- free(session_name);
+ if (opt_session_name == NULL) {
+ free(session_name);
+ }
error:
return ret;
}
This page took
0.024573 seconds
and
4
git commands to generate.