diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-27 12:46:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-27 12:46:37 +0100 |
commit | 68cf5243462e0e9b743e420ab57a0be11055fc78 (patch) | |
tree | 0f33aa1b198f14788b2257839c182140a0e164ef /src/rspamadm/signtool.c | |
parent | 2a8231db5d2bb2590f419df73c5a529d39ff1a22 (diff) | |
download | rspamd-68cf5243462e0e9b743e420ab57a0be11055fc78.tar.gz rspamd-68cf5243462e0e9b743e420ab57a0be11055fc78.zip |
[Minor] Fix various static leaks
Diffstat (limited to 'src/rspamadm/signtool.c')
-rw-r--r-- | src/rspamadm/signtool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rspamadm/signtool.c b/src/rspamadm/signtool.c index eae55b8bd..d92071bfa 100644 --- a/src/rspamadm/signtool.c +++ b/src/rspamadm/signtool.c @@ -489,9 +489,12 @@ rspamadm_signtool (gint argc, gchar **argv, const struct rspamadm_command *cmd) if (!g_option_context_parse (context, &argc, &argv, &error)) { rspamd_fprintf (stderr, "option parsing failed: %s\n", error->message); g_error_free (error); + g_option_context_free (context); exit (1); } + g_option_context_free (context); + if (openssl) { mode = RSPAMD_CRYPTOBOX_MODE_NIST; } |