Fix: sessiond: notification: missing unlock on client skip
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-events.c
index 1093784113cd4e2b35cc5093ab3dd7d5b5bc6b69..747740233094477c00fb59065cce2dd3f9861013 100644 (file)
@@ -2125,7 +2125,7 @@ find_tracer_event_source_element(struct notification_thread_state *state,
 
        source_element = NULL;
 end:
-       return NULL;
+       return source_element;
 }
 
 static
@@ -4421,7 +4421,8 @@ int notification_client_list_send_evaluation(
                         * Notifications resulting from an hidden trigger are
                         * only sent to the session daemon.
                         */
-                       continue;
+                       DBG("Skipping client as the trigger is hidden and the client is not the session daemon");
+                       goto skip_client;
                }
 
                if (source_object_creds) {
This page took 0.02353 seconds and 4 git commands to generate.