summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-11-08 13:17:12 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2021-12-31 14:15:13 +0100
commite4b0b64458cc32d08a47dbffebeb1fcec7087a95 (patch)
tree07c7520b914b218ff90d27d3d6f1ef3fe0617046
parentf47234f789171942f8195df62a945b14216238d4 (diff)
downloadmate-control-center-e4b0b64458cc32d08a47dbffebeb1fcec7087a95.tar.bz2
mate-control-center-e4b0b64458cc32d08a47dbffebeb1fcec7087a95.tar.xz
mate-da-capplet: fix memory leak
-rw-r--r--capplets/default-applications/mate-da-capplet.c1
1 files changed, 1 insertions, 0 deletions
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);