From 3b0b4037d08c22c160a273162f9955782c68857a Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 30 Apr 2016 17:06:21 +0100 Subject: [PATCH] authd: don't decrement refcount twice when accepting the client --- authd/provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authd/provider.c b/authd/provider.c index 8c498b50..f59cf368 100644 --- a/authd/provider.c +++ b/authd/provider.c @@ -240,7 +240,7 @@ provider_done(struct auth_client *auth, uint32_t id) if(auth->refcount == 0 && !auth->providers_starting) { /* All done */ - accept_client(auth, id); + accept_client(auth, UINT32_MAX); return; }