0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 19:28:52 +02:00

authd: Fix use after reference count decrement.

This commit is contained in:
Jason Volk 2016-08-05 13:08:16 -06:00 committed by Jason Volk
parent 3fccd78d32
commit 7ecb061e69

View file

@ -248,8 +248,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;
}