From 32b7f34a3cd5a946c2ac012e0d0a74640ef7f1c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 30 Jun 2022 12:03:23 -0400 Subject: [PATCH] Fix: sessiond: report client list allocation failure as a fatal error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Report the failure to allocate a notification client list as a fatal notification thread error. Signed-off-by: Jérémie Galarneau Change-Id: I8f2654020d0d890cc9275d445fdeccde940d2ae0 --- src/bin/lttng-sessiond/notification-thread-events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 76a7363bf..5733ecda8 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -2809,6 +2809,7 @@ int handle_notification_thread_command_register_trigger( client_list = notification_client_list_create(state, condition); if (!client_list) { ERR("Error creating notification client list for trigger %s", trigger->name); + ret = -1; goto error_free_ht_element; } } -- 2.34.1