Merge branch 'neosilky-memleak'

This commit is contained in:
Jelle van der Waa 2016-04-27 21:38:41 +02:00
commit c6d1425189
1 changed files with 3 additions and 0 deletions

View File

@ -1501,9 +1501,12 @@ int main(int argc, char **argv) {
if (!g_option_context_parse(context, &argc, &argv, &error)) {
g_printerr("option parsing failed: %s\n", error->message);
g_clear_error (&error);
return EXIT_FAILURE;
}
g_option_context_free(context);
if (version) {
g_print("termite %s\n", TERMITE_VERSION);
return EXIT_SUCCESS;