0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01: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 */ /* 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;
} }