Fix: missing session reference release on kernel poll update
[lttng-tools.git] / src / bin / lttng-sessiond / manage-kernel.c
index 35547743c295e1cdb7c7f71e2f2114813a22761d..56bc0a93ca6147807d02059058daa2b23ae4a0e5 100644 (file)
@@ -70,6 +70,7 @@ static int update_kernel_poll(struct lttng_poll_event *events)
                        DBG("Channel fd %d added to kernel set", channel->fd);
                }
                session_unlock(session);
+               session_put(session);
        }
        session_unlock_list();
 
This page took 0.023401 seconds and 4 git commands to generate.