authd: Fix use after reference count decrement.

This commit is contained in:
Jason Volk 2016-08-05 13:08:16 -06:00 committed by GitHub
parent 5191cd0814
commit 7c003d84bc

View file

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