diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-27 12:51:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-27 12:51:24 +0100 |
commit | fecc373a98341f5587bebb714d64f8773de8e32e (patch) | |
tree | 9ab75a9f3dce86cabddaab420dd52119216fd4e7 /contrib | |
parent | ca03fc2cc1d45800da06820eb55bb30d493a2aa8 (diff) | |
download | rspamd-fecc373a98341f5587bebb714d64f8773de8e32e.tar.gz rspamd-fecc373a98341f5587bebb714d64f8773de8e32e.zip |
[Minor] Fix another static leak
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/librdns/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/librdns/util.c b/contrib/librdns/util.c index 9536a35b2..60da2ad48 100644 --- a/contrib/librdns/util.c +++ b/contrib/librdns/util.c @@ -495,9 +495,11 @@ rdns_ioc_free (struct rdns_io_channel *ioc) HASH_ITER (hh, ioc->requests, req, rtmp) { REF_RELEASE (req); } + ioc->resolver->async->del_read (ioc->resolver->async->data, ioc->async_io); close (ioc->sock); + free (ioc->saddr); free (ioc); } |