From: Arran Cudbard-Bell Date: Wed, 3 Nov 2021 19:32:42 +0000 (-0400) Subject: Incorrect ctx for timer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6abb5473030acaaa0afb9af9b8ab44161d73ca64;p=thirdparty%2Ffreeradius-server.git Incorrect ctx for timer --- diff --git a/src/lib/ldap/connection.c b/src/lib/ldap/connection.c index 1fa85c41647..39ef8ccc804 100644 --- a/src/lib/ldap/connection.c +++ b/src/lib/ldap/connection.c @@ -1001,7 +1001,7 @@ fr_ldap_thread_trunk_t *fr_thread_ldap_trunk_get(fr_ldap_thread_t *thread, char /* * Insert event to close trunk if it becomes idle */ - fr_event_timer_in(thread, thread->el, &found->ev, thread->config->idle_timeout, + fr_event_timer_in(found, thread->el, &found->ev, thread->config->idle_timeout, _ldap_trunk_idle_timeout, found); /*