aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/dkim_keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamadm/dkim_keygen.c')
-rw-r--r--src/rspamadm/dkim_keygen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamadm/dkim_keygen.c b/src/rspamadm/dkim_keygen.c
index 62b47f557..64e71f36e 100644
--- a/src/rspamadm/dkim_keygen.c
+++ b/src/rspamadm/dkim_keygen.c
@@ -356,8 +356,10 @@ rspamadm_dkim_keygen (gint argc, gchar **argv, const struct rspamadm_command *cm
if (!g_option_context_parse (context, &argc, &argv, &error)) {
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);
rspamadm_dkim_generate_keypair (domain, selector, privkey_file, NULL, bits);
}