]> granicus.if.org Git - poly2tri-c/commitdiff
Free the GOptionContext object in the main program
authorBarak Itkin <lightningismyname@gmail.com>
Sun, 27 May 2012 09:49:02 +0000 (12:49 +0300)
committerBarak Itkin <lightningismyname@gmail.com>
Sun, 27 May 2012 09:49:02 +0000 (12:49 +0300)
bin/main.c

index 3ff6e9978be74c2160cd5bffa3e1f1b2142f41df..525536ecd9ee4a92e339edc859ef67c181757795 100755 (executable)
@@ -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.");