Skip to content

Commit 529aef6

Browse files
authored
Merge branch 'main' into dwfreed/callerid-cleanup
2 parents d27fba3 + 63ee103 commit 529aef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ircd/authproc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ timeout_dead_authd_clients(void *notused __unused)
566566
{
567567
if(client_p->preClient->auth.timeout < rb_current_time())
568568
{
569-
authd_free_client(client_p);
570569
rb_dlinkAddAlloc(client_p, &freelist);
571570
}
572571
}
@@ -575,7 +574,8 @@ timeout_dead_authd_clients(void *notused __unused)
575574
RB_DLINK_FOREACH_SAFE(ptr, nptr, freelist.head)
576575
{
577576
client_p = ptr->data;
578-
rb_dictionary_delete(cid_clients, RB_UINT_TO_POINTER(client_p->preClient->auth.cid));
577+
authd_abort_client(client_p);
578+
rb_dlinkDestroy(ptr, &freelist);
579579
}
580580
}
581581

0 commit comments

Comments
 (0)