Merge branch 'neosilky-memleak'
This commit is contained in:
commit
c6d1425189
|
@ -1501,9 +1501,12 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
if (!g_option_context_parse(context, &argc, &argv, &error)) {
|
if (!g_option_context_parse(context, &argc, &argv, &error)) {
|
||||||
g_printerr("option parsing failed: %s\n", error->message);
|
g_printerr("option parsing failed: %s\n", error->message);
|
||||||
|
g_clear_error (&error);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_option_context_free(context);
|
||||||
|
|
||||||
if (version) {
|
if (version) {
|
||||||
g_print("termite %s\n", TERMITE_VERSION);
|
g_print("termite %s\n", TERMITE_VERSION);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue