]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix another static leak
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Sep 2019 11:51:24 +0000 (12:51 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Sep 2019 11:51:24 +0000 (12:51 +0100)
contrib/librdns/util.c

index 9536a35b2efe0a4801019abd21867f296a1ef044..60da2ad48ee8148fae3228ce0b4401bc395ab200 100644 (file)
@@ -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);
 }