]> jfr.im git - solanum.git/commitdiff
authd: Fix use after reference count decrement.
authorJason Volk <redacted>
Fri, 5 Aug 2016 19:08:16 +0000 (13:08 -0600)
committerGitHub <redacted>
Fri, 5 Aug 2016 19:08:16 +0000 (13:08 -0600)
authd/providers/blacklist.c

index c6de72a6c48209fe999a2b6e8f285da28fefdd31..ca0ca238bca31155ada941c30a53974e82bba869 100644 (file)
@@ -250,8 +250,8 @@ blacklist_dns_callback(const char *result, bool status, query_type type, void *d
        {
                /* Match found, so proceed no further */
                bl->hits++;
-               blacklists_cancel(auth);
                reject_client(auth, SELF_PID, bl->host, bl->reason);
+               blacklists_cancel(auth);
                return;
        }