From 97cf926dbf759c1590424cb58b2e5fdb970ae468 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 12 Jul 2021 18:42:57 -0400 Subject: [PATCH] Fix: sessiond: notification: find_tracer_event_source returns NULL MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Due to a bad edit of the original patch (my bad!) find_tracer_event_source_element always returns NULL. Signed-off-by: Jérémie Galarneau Change-Id: I7febee1d803034a06d5063a2cc9179c4edef4809 --- src/bin/lttng-sessiond/notification-thread-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 109378411..9e5ec5091 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -2125,7 +2125,7 @@ find_tracer_event_source_element(struct notification_thread_state *state, source_element = NULL; end: - return NULL; + return source_element; } static -- 2.34.1