From e422096372dfa42ad6bc8b71dfe0e2aa448e6fe3 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 27 Jun 2020 07:27:25 +0200 Subject: [PATCH] GUI: Fix memory leak on startup --- src/ui/gui/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/gui/main.c b/src/ui/gui/main.c index dee766cbff..cb5519b5f3 100644 --- a/src/ui/gui/main.c +++ b/src/ui/gui/main.c @@ -280,6 +280,7 @@ process_pre_start_arguments (int *argc, char ***argv) g_option_context_set_ignore_unknown_options (oc, FALSE); g_option_context_add_main_entries (oc, oe, NULL); g_option_context_parse (oc, argc, argv, NULL); + g_option_context_free (oc); } #if ENABLE_RELOCATABLE && defined(__APPLE__) -- 2.30.2