Bug #316
Updated by Anonymous about 12 years ago
In: in lttng-sessiond main.c:thread_manage_kernel() lttng-sessiond main.c:thread_manage_apps() main.c:thread_manage_kernel(), thread_manage_apps(), and lttng-relayd main.c:relay_thread_worker() Upon main.c:relay_thread_worker(), upon error condition, the file descriptors used by poll are not closed. This is not performed by lttng_poll_clean, and probably should not be, since the thread_quit_pipe is part of that poll array, and needs to be closed in the main() cleanup (only once). However, a finer-grained close of those file descriptors would be needed in the error handling of each function.