mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 09:58:54 +02:00
Free the option context.
2005-05-09 Matthias Clasen <mclasen@redhat.com> * src/compiler.c (main): Free the option context.
This commit is contained in:
committed by
Evan Welsh
parent
8a67ec9414
commit
bc21d3a976
@@ -149,6 +149,7 @@ main (int argc, char ** argv)
|
|||||||
context = g_option_context_new ("");
|
context = g_option_context_new ("");
|
||||||
g_option_context_add_main_entries (context, options, NULL);
|
g_option_context_add_main_entries (context, options, NULL);
|
||||||
g_option_context_parse (context, &argc, &argv, &error);
|
g_option_context_parse (context, &argc, &argv, &error);
|
||||||
|
g_option_context_free (context);
|
||||||
|
|
||||||
if (!input)
|
if (!input)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user