* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
- * version 2 of the licence, or (at your option) any later version.
+ * version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
if (do_help)
{
show_help (context, NULL);
+ g_option_context_free (context);
return 0;
}
{
show_help (context, error->message);
g_error_free (error);
+ g_option_context_free (context);
return 1;
}
if (argc < 2)
{
show_help (context, _("No locations given"));
+ g_option_context_free (context);
return 1;
}