Fix: sessiond: report client list allocation failure as a fatal error
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-events.cpp
index a93b4cb95975a90356b052bdfce798bffbfff504..43879c99fe8957d021e2dacbb2218997cd3c73d8 100644 (file)
@@ -2965,6 +2965,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.022455 seconds and 4 git commands to generate.