X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fhealth.c;h=921b45261846cb79d62b71d13503478ce10d240c;hp=e8c42e4bd7fa6f2b8b7394e9af43461be4b26fb4;hb=21fa020ee12d44632c5efde063869d542897bdd1;hpb=b0a23296344e57bd2e48e62ec2d7e0d8a38661bb diff --git a/src/bin/lttng-sessiond/health.c b/src/bin/lttng-sessiond/health.c index e8c42e4bd..921b45261 100644 --- 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; }