commit d90f7a6: [Minor] Rdns: Fix hash delisting

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jan 5 21:42:04 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-01-05 20:08:26 +0000
URL: https://github.com/rspamd/rspamd/commit/d90f7a622feb794283bd300c937f302d0f7c00b2

[Minor] Rdns: Fix hash delisting

---
 contrib/librdns/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/librdns/util.c b/contrib/librdns/util.c
index 12ad08b16..1ff8b1858 100644
--- a/contrib/librdns/util.c
+++ b/contrib/librdns/util.c
@@ -637,7 +637,7 @@ rdns_request_unschedule (struct rdns_request *req)
 		if (req->state == RDNS_REQUEST_WAIT_REPLY) {
 			req->async->del_timer (req->async->data,
 					req->async_event);
-
+			rdns_request_remove_from_hash(req);
 			req->async_event = NULL;
 		}
 		else if (req->state == RDNS_REQUEST_WAIT_SEND) {


More information about the Commits mailing list