diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-01-03 20:55:54 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-01-03 20:55:54 +0000 |
commit | 19d0e55011f75fce39c8bb8c7d733043b8a0babd (patch) | |
tree | 2480786ca5da66fae17e38ee9c9f6bed250b9bc5 /contrib/librdns/resolver.c | |
parent | 273bd073821c437ea22fd65ec69079e2baf45ccf (diff) | |
download | rspamd-19d0e55011f75fce39c8bb8c7d733043b8a0babd.tar.gz rspamd-19d0e55011f75fce39c8bb8c7d733043b8a0babd.zip |
[Project] Rdns: Fix TCP stuff cleanup
Diffstat (limited to 'contrib/librdns/resolver.c')
-rw-r--r-- | contrib/librdns/resolver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/librdns/resolver.c b/contrib/librdns/resolver.c index c5cebc572..a576135db 100644 --- a/contrib/librdns/resolver.c +++ b/contrib/librdns/resolver.c @@ -817,6 +817,7 @@ rdns_process_tcp_write (int fd, struct rdns_io_channel *ioc) /* Packet has been fully written, remove it */ DL_DELETE(ioc->tcp->output_chain, oc); /* Data in output buffer belongs to request */ + REF_RELEASE(oc->req); free (oc); ioc->tcp->cur_output_chains --; } |