aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/signtool.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-16 13:01:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-16 13:01:44 +0100
commitd46bfc3a075bb39fd5cd48b49fd43bbd3aa761f4 (patch)
tree6b377346891aa4e3fc780d628225ec00ef1ca4fe /src/rspamadm/signtool.c
parent83576f16712adb624fdccd370861a9db8e1fa266 (diff)
downloadrspamd-d46bfc3a075bb39fd5cd48b49fd43bbd3aa761f4.tar.gz
rspamd-d46bfc3a075bb39fd5cd48b49fd43bbd3aa761f4.zip
[Minor] Fix some issues
Found by: coverity scan
Diffstat (limited to 'src/rspamadm/signtool.c')
-rw-r--r--src/rspamadm/signtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamadm/signtool.c b/src/rspamadm/signtool.c
index b236952e7..678ee42a6 100644
--- a/src/rspamadm/signtool.c
+++ b/src/rspamadm/signtool.c
@@ -374,6 +374,7 @@ rspamadm_sign_file (const gchar *fname, struct rspamd_cryptobox_keypair *kp)
if (b32_pk) {
rspamd_fprintf (pub_fp, "%v", b32_pk);
+ g_string_free (b32_pk, TRUE);
}
fclose (pub_fp);