Merge branch 'wip/sadiq/fix-memory-leak' into 'master'

gapplication: Fix a memory leak

See merge request GNOME/glib!1925
This commit is contained in:
Sebastian Dröge 2021-02-04 13:40:28 +00:00
commit e41a36784c

View File

@ -1091,6 +1091,7 @@ g_application_real_local_command_line (GApplication *application,
if (!options) if (!options)
{ {
g_printerr ("%s\n", error->message); g_printerr ("%s\n", error->message);
g_error_free (error);
*exit_status = 1; *exit_status = 1;
return TRUE; return TRUE;
} }