commit fecc373: [Minor] Fix another static leak
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Sep 27 12:35:09 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-09-27 12:51:24 +0100
URL: https://github.com/rspamd/rspamd/commit/fecc373a98341f5587bebb714d64f8773de8e32e
[Minor] Fix another static leak
---
contrib/librdns/util.c | 2 ++
1 file changed, 2 insertions(+)
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);
}
More information about the Commits
mailing list