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/confighelp.c | |
parent | 2a8231db5d2bb2590f419df73c5a529d39ff1a22 (diff) | |
download | rspamd-68cf5243462e0e9b743e420ab57a0be11055fc78.tar.gz rspamd-68cf5243462e0e9b743e420ab57a0be11055fc78.zip |
[Minor] Fix various static leaks
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r-- | src/rspamadm/confighelp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c index a5b67a400..53f8dbbe9 100644 --- a/src/rspamadm/confighelp.c +++ b/src/rspamadm/confighelp.c @@ -216,9 +216,11 @@ rspamadm_confighelp (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); pworker = &workers[0]; while (*pworker) { /* Init string quarks */ |