projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: use of null session when session is not found
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
rotation-thread.c
diff --git
a/src/bin/lttng-sessiond/rotation-thread.c
b/src/bin/lttng-sessiond/rotation-thread.c
index 7ca9142cec5f5d97d66c868513132697ef46195a..5e6042e85671b88ad0b12dd5ea848b51b84529c2 100644
(file)
--- a/
src/bin/lttng-sessiond/rotation-thread.c
+++ b/
src/bin/lttng-sessiond/rotation-thread.c
@@
-587,8
+587,7
@@
int handle_job_queue(struct rotation_thread_handle *handle,
session_lock_list();
session = job->session;
if (!session) {
session_lock_list();
session = job->session;
if (!session) {
- DBG("[rotation-thread] Session \"%s\" not found",
- session->name);
+ DBG("[rotation-thread] Session not found");
/*
* This is a non-fatal error, and we cannot report it to
* the user (timer), so just print the error and
/*
* This is a non-fatal error, and we cannot report it to
* the user (timer), so just print the error and
@@
-600,7
+599,6
@@
int handle_job_queue(struct rotation_thread_handle *handle,
* already been queued before it was destroyed.
*/
free(job);
* already been queued before it was destroyed.
*/
free(job);
- session_put(session);
session_unlock_list();
continue;
}
session_unlock_list();
continue;
}
This page took
0.025018 seconds
and
5
git commands to generate.