X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotify-apps.c;h=bc7405c7b4bf4c586ad3393428f22b86280fb6a0;hb=dd1c9bfd055824630f661ea32d6c7261810bd3bc;hp=fee1843459e011d8ded0908c07fd317026d942b0;hpb=4ac33400cf03d2e8e029f31e269e3cee8d139490;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/notify-apps.c b/src/bin/lttng-sessiond/notify-apps.c index fee184345..bc7405c7b 100644 --- a/src/bin/lttng-sessiond/notify-apps.c +++ b/src/bin/lttng-sessiond/notify-apps.c @@ -230,7 +230,7 @@ bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd) notifiers = zmalloc(sizeof(*notifiers)); if (!notifiers) { - goto error; + goto error_alloc; } notifiers->apps_cmd_notify_pipe_read_fd = apps_cmd_notify_pipe_read_fd; @@ -252,5 +252,6 @@ bool launch_application_notification_thread(int apps_cmd_notify_pipe_read_fd) return true; error: cleanup_application_notification_thread(notifiers); +error_alloc: return false; }