summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-11-08 13:17:12 +0100
committerrbuj <[email protected]>2021-12-31 14:17:51 +0100
commitdd2c22523987bff1d4bdc92a166441d2589e703f (patch)
treede014f44934a31a9d52fe0f643fefd16df469d5a /capplets
parente5952471d2964ddb815ca7e40380f3472cc338a9 (diff)
downloadmate-control-center-dd2c22523987bff1d4bdc92a166441d2589e703f.tar.bz2
mate-control-center-dd2c22523987bff1d4bdc92a166441d2589e703f.tar.xz
mate-da-capplet: fix memory leak
Diffstat (limited to 'capplets')
-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 e5ade48b..0c69b5fa 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -789,6 +789,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);