diff --git a/src/up-main.c b/src/up-main.c index f677cb5..6bdb299 100644 --- a/src/up-main.c +++ b/src/up-main.c @@ -210,6 +210,7 @@ main (gint argc, gchar **argv) if (!g_option_context_parse (context, &argc, &argv, &error)) { g_warning ("Failed to parse command-line options: %s", error->message); g_error_free (error); + g_option_context_free (context); return 1; } g_option_context_free (context);