aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-16 17:24:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-16 17:24:01 +0000
commit2991e3909d87eb266ab763e105e908ea13bf1129 (patch)
treea37e36095208768a435eec1688984f43366da612 /src/libserver/cfg_utils.c
parentb74e2a3884fffed26c2d440abfd87949c2390085 (diff)
downloadrspamd-2991e3909d87eb266ab763e105e908ea13bf1129.tar.gz
rspamd-2991e3909d87eb266ab763e105e908ea13bf1129.zip
[Fix] Try to fix issues with reloading config
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index b39503ee2..8a8138ebf 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -943,6 +943,8 @@ static void
rspamd_worker_conf_dtor (struct rspamd_worker_conf *wcf)
{
if (wcf) {
+ /* XXX: fix reload memory leak somehow */
+ /* ucl_object_unref (wcf->options); */
g_queue_free (wcf->active_workers);
g_hash_table_unref (wcf->params);
g_slice_free1 (sizeof (*wcf), wcf);