From e4b0b64458cc32d08a47dbffebeb1fcec7087a95 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 8 Nov 2021 13:17:12 +0100 Subject: mate-da-capplet: fix memory leak --- capplets/default-applications/mate-da-capplet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'capplets/default-applications/mate-da-capplet.c') diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c index 89154d37..8dd72463 100644 --- a/capplets/default-applications/mate-da-capplet.c +++ b/capplets/default-applications/mate-da-capplet.c @@ -790,6 +790,7 @@ main(int argc, char** argv) g_option_context_add_main_entries(context, option_entries, GETTEXT_PACKAGE); capplet_init(context, &argc, &argv); + g_option_context_free(context); MateDACapplet* capplet = g_new0(MateDACapplet, 1); -- cgit v1.2.1