Fix: sessiond: report client list allocation failure as a fatal error
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-events.c
index 76a7363bf8d03bb907f420abdbd377deff7f8563..5733ecda8ac63f2d95b89a975548f91e8cd20d85 100644 (file)
@@ -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;
                        }
                }
This page took 0.023751 seconds and 4 git commands to generate.