projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't put() thread on shutdown failure
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
agent-thread.c
diff --git
a/src/bin/lttng-sessiond/agent-thread.c
b/src/bin/lttng-sessiond/agent-thread.c
index 3ee383389d5e35927b9787e221fc3e51a0cf2b03..f7be1ef71f0bf809fad7ba50ee72faf82ed5de85 100644
(file)
--- a/
src/bin/lttng-sessiond/agent-thread.c
+++ b/
src/bin/lttng-sessiond/agent-thread.c
@@
-504,7
+504,7
@@
bool launch_agent_management_thread(void)
notifiers = zmalloc(sizeof(*notifiers));
if (!notifiers) {
notifiers = zmalloc(sizeof(*notifiers));
if (!notifiers) {
- goto error;
+ goto error
_alloc
;
}
sem_init(¬ifiers->ready, 0, 0);
}
sem_init(¬ifiers->ready, 0, 0);
@@
-525,5
+525,6
@@
bool launch_agent_management_thread(void)
return true;
error:
cleanup_agent_management_thread(notifiers);
return true;
error:
cleanup_agent_management_thread(notifiers);
+error_alloc:
return false;
}
return false;
}
This page took
0.025003 seconds
and
4
git commands to generate.