commit f2e9665: [Minor] Another static leak

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Sep 27 12:35:12 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-27 12:56:35 +0100
URL: https://github.com/rspamd/rspamd/commit/f2e9665d05f6e81603ef0e10dfbc161151357468

[Minor] Another static leak

---
 src/rspamadm/rspamadm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c
index 6108a179b..3a2bb4c53 100644
--- a/src/rspamadm/rspamadm.c
+++ b/src/rspamadm/rspamadm.c
@@ -616,6 +616,7 @@ main (gint argc, gchar **argv, gchar **env)
 end:
 	rspamd_dns_resolver_deinit (resolver);
 	REF_RELEASE (rspamd_main->cfg);
+	rspamd_http_context_free (rspamd_main->http_ctx);
 	rspamd_log_close (rspamd_main->logger, TRUE);
 	rspamd_url_deinit ();
 	g_free (rspamd_main);


More information about the Commits mailing list