projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Fix: remove relayd rundir on cleanup"
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
health-relayd.c
diff --git
a/src/bin/lttng-relayd/health-relayd.c
b/src/bin/lttng-relayd/health-relayd.c
index f2b167c4a0375e58a740d0369551e153854542e8..61e50367cb0eb1bfeadeb1e549468d180145afa0 100644
(file)
--- a/
src/bin/lttng-relayd/health-relayd.c
+++ b/
src/bin/lttng-relayd/health-relayd.c
@@
-133,7
+133,7
@@
static
int setup_health_path(void)
{
int is_root, ret = 0;
- char *home_path = NULL, *rundir, *relayd_path;
+ char *home_path = NULL, *rundir
= NULL
, *relayd_path;
is_root = !getuid();
@@
-195,6
+195,7
@@
int setup_health_path(void)
}
end:
+ free(rundir);
return ret;
}
This page took
0.028375 seconds
and
4
git commands to generate.