From 6cb689f2182bf840a83ebb828c82123d38b84e79 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 20 Nov 2015 17:09:32 +0000 Subject: Add deinitialization for upstreams --- src/libserver/cfg_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libserver/cfg_utils.c') diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 53ce5add4..b2e97564f 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -229,6 +229,7 @@ rspamd_config_free (struct rspamd_config *cfg) g_list_free (cfg->metrics_list); rspamd_symbols_cache_destroy (cfg->cache); REF_RELEASE (cfg->libs_ctx); + rspamd_upstreams_library_unref (cfg->ups_ctx); rspamd_mempool_delete (cfg->cfg_pool); lua_close (cfg->lua_state); g_slice_free1 (sizeof (*cfg), cfg); -- cgit v1.2.3