aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/fuzzy_convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamadm/fuzzy_convert.c')
-rw-r--r--src/rspamadm/fuzzy_convert.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rspamadm/fuzzy_convert.c b/src/rspamadm/fuzzy_convert.c
index c59200bc7..11386de65 100644
--- a/src/rspamadm/fuzzy_convert.c
+++ b/src/rspamadm/fuzzy_convert.c
@@ -93,9 +93,12 @@ rspamadm_fuzzyconvert (gint argc, gchar **argv, const struct rspamadm_command *c
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 (!source_db) {
rspamd_fprintf (stderr, "source db is missing\n");
exit (1);