From: Vsevolod Stakhov Date: Fri, 27 Sep 2019 11:51:24 +0000 (+0100) Subject: [Minor] Fix another static leak X-Git-Tag: 2.0~110 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fecc373a98341f5587bebb714d64f8773de8e32e;p=rspamd.git [Minor] Fix another static leak --- 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); }