X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Flist.c;h=d304e162d6ac5875f91750db5f6ac036a268b006;hb=a36ad5e29241b0c89379947b13887cb6930ef3e0;hp=f485ec0e3bafcddaeb18ce3c229efbc291d3cbae;hpb=30d2f048838a551f3364090efe8ba344f88e541c;p=ircu2.10.12-pk.git diff --git a/ircd/list.c b/ircd/list.c index f485ec0..d304e16 100644 --- a/ircd/list.c +++ b/ircd/list.c @@ -269,7 +269,7 @@ void free_client(struct Client* cptr) cptr, cli_connect(cptr))); if (cli_auth(cptr)) - destroy_auth_request(cli_auth(cptr), 0); + destroy_auth_request(cli_auth(cptr)); /* Make sure we didn't magically get re-added to the list */ assert(cli_next(cptr) == 0); @@ -448,8 +448,8 @@ void free_link(struct SLink* lp) if (lp) { lp->next = slinkFreeList; slinkFreeList = lp; + links.inuse--; } - links.inuse--; } /** Add an element to a doubly linked list.