diff options
Diffstat (limited to 'tools/mate-session-check-accelerated-gl-helper.c')
-rw-r--r-- | tools/mate-session-check-accelerated-gl-helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/mate-session-check-accelerated-gl-helper.c b/tools/mate-session-check-accelerated-gl-helper.c index 0526336..e11206e 100644 --- a/tools/mate-session-check-accelerated-gl-helper.c +++ b/tools/mate-session-check-accelerated-gl-helper.c @@ -1,6 +1,7 @@ /* * Copyright (C) 2010 Novell, Inc. * Copyright (C) 2006-2009 Red Hat, Inc. + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -438,7 +439,7 @@ static gboolean print_renderer = FALSE; static const GOptionEntry entries[] = { { "print-renderer", 'p', 0, G_OPTION_ARG_NONE, &print_renderer, "Print GL renderer name", NULL }, - { NULL }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }, }; int @@ -509,6 +510,7 @@ main (int argc, char **argv) out: if (display) XCloseDisplay (display); + g_option_context_free (context); g_free (renderer); return ret; |