authd: don't decrement refcount twice when accepting the client
This commit is contained in:
parent
896370cc3e
commit
3b0b4037d0
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ provider_done(struct auth_client *auth, uint32_t id)
|
||||||
if(auth->refcount == 0 && !auth->providers_starting)
|
if(auth->refcount == 0 && !auth->providers_starting)
|
||||||
{
|
{
|
||||||
/* All done */
|
/* All done */
|
||||||
accept_client(auth, id);
|
accept_client(auth, UINT32_MAX);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue