aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configdump.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-11 11:02:42 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-11 11:02:42 +0000
commit6af9f27166aefa0c253486f769fac428d8fdbc20 (patch)
tree9583da7b235dffc4bbc2c1952359d58439d30f75 /src/rspamadm/configdump.c
parent34b41a21d7b4bcca1f662b4bdbd8618397e10bb5 (diff)
downloadrspamd-6af9f27166aefa0c253486f769fac428d8fdbc20.tar.gz
rspamd-6af9f27166aefa0c253486f769fac428d8fdbc20.zip
Fix couple of issues found by coverity scan
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r--src/rspamadm/configdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c
index 64fb9703d..ca89b5325 100644
--- a/src/rspamadm/configdump.c
+++ b/src/rspamadm/configdump.c
@@ -104,6 +104,7 @@ rspamadm_add_doc_elt (const ucl_object_t *obj, const ucl_object_t *doc_obj,
nobj = ucl_object_fromstring_common ("/*", 0, 0);
}
else {
+ rspamd_fstring_free (comment);
return;
}