From: Barak Itkin Date: Sun, 27 May 2012 09:49:02 +0000 (+0300) Subject: Free the GOptionContext object in the main program X-Git-Tag: p2tc-0.1.0~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=224cbafef370fc15597fbf8e25e3a134bff61b9d;p=poly2tri-c Free the GOptionContext object in the main program --- diff --git a/bin/main.c b/bin/main.c index 3ff6e99..525536e 100755 --- a/bin/main.c +++ b/bin/main.c @@ -196,6 +196,8 @@ gint main (int argc, char *argv[]) exit (1); } + g_option_context_free (context); + if (input_file == NULL) { g_print ("No input file given. Stop.");