projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: run-as thread deadlock on itself in restart error path
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
health.c
diff --git
a/src/bin/lttng-sessiond/health.c
b/src/bin/lttng-sessiond/health.c
index e8c42e4bd7fa6f2b8b7394e9af43461be4b26fb4..921b45261846cb79d62b71d13503478ce10d240c 100644
(file)
--- a/
src/bin/lttng-sessiond/health.c
+++ b/
src/bin/lttng-sessiond/health.c
@@
-265,7
+265,7
@@
bool launch_health_management_thread(void)
notifiers = zmalloc(sizeof(*notifiers));
if (!notifiers) {
- goto error;
+ goto error
_alloc
;
}
sem_init(¬ifiers->ready, 0, 0);
@@
-287,5
+287,6
@@
bool launch_health_management_thread(void)
return true;
error:
cleanup_health_management_thread(notifiers);
+error_alloc:
return false;
}
This page took
0.024913 seconds
and
5
git commands to generate.