aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-17 13:28:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-17 14:57:16 +0000
commit2040127be17782c44a6c31ad2d5bcad54d919503 (patch)
tree8f996ae435544d2c6d258715b039f27a401d2ece /src/libserver/cfg_utils.c
parentb80f8562f8efc3762f7e4c5ab1d65b2e3b209fd0 (diff)
downloadrspamd-2040127be17782c44a6c31ad2d5bcad54d919503.tar.gz
rspamd-2040127be17782c44a6c31ad2d5bcad54d919503.zip
Save comments from configuration files
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 3e1e0d84e..a857571c4 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -171,6 +171,7 @@ rspamd_config_free (struct rspamd_config *cfg)
rspamd_map_remove_all (cfg);
ucl_object_unref (cfg->rcl_obj);
+ ucl_object_unref (cfg->config_comments);
ucl_object_unref (cfg->doc_strings);
g_hash_table_remove_all (cfg->metrics);
g_hash_table_unref (cfg->metrics);