A bad backport introduced this use of `session` even when it is
NULL.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If7d540229ef3a2a50e1e58d4f408cb61252ed45d
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
* already been queued before it was destroyed.
*/
free(job);
- session_put(session);
session_unlock_list();
continue;
}