aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:09:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:09:32 +0000
commit6cb689f2182bf840a83ebb828c82123d38b84e79 (patch)
tree0bd36866439394426dd3647d0fc0ab4c1bd8882c /src/libserver/cfg_utils.c
parent3d10a9ead7d1241035160ab3355577051186b0fd (diff)
downloadrspamd-6cb689f2182bf840a83ebb828c82123d38b84e79.tar.gz
rspamd-6cb689f2182bf840a83ebb828c82123d38b84e79.zip
Add deinitialization for upstreams
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
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);