diff --git a/gio/gapplication.c b/gio/gapplication.c index 1c560e5e8..3720146af 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -1091,6 +1091,7 @@ g_application_real_local_command_line (GApplication *application, if (!options) { g_printerr ("%s\n", error->message); + g_error_free (error); *exit_status = 1; return TRUE; }