aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-05 20:08:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-05 20:08:26 +0000
commitd90f7a622feb794283bd300c937f302d0f7c00b2 (patch)
tree06d21176022e054857758c949757e31b87e3da03 /contrib
parentcd2b10baed3c84a88c22573087f7c055eb04e46a (diff)
downloadrspamd-d90f7a622feb794283bd300c937f302d0f7c00b2.tar.gz
rspamd-d90f7a622feb794283bd300c937f302d0f7c00b2.zip
[Minor] Rdns: Fix hash delisting
Diffstat (limited to 'contrib')
-rw-r--r--contrib/librdns/util.c2
1 files changed, 1 insertions, 1 deletions
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) {