diff options
Diffstat (limited to 'src/rspamadm/stat_convert.c')
-rw-r--r-- | src/rspamadm/stat_convert.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rspamadm/stat_convert.c b/src/rspamadm/stat_convert.c index e3a3e179b..cea366f76 100644 --- a/src/rspamadm/stat_convert.c +++ b/src/rspamadm/stat_convert.c @@ -128,9 +128,12 @@ rspamadm_statconvert (gint argc, gchar **argv, const struct rspamadm_command *cm 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 (config_file) { /* Load config file, assuming that it has all information required */ struct ucl_parser *parser; |