gapplication: Fix a memory leak

This commit is contained in:
Mohammed Sadiq 2021-02-04 18:36:45 +05:30
parent 8385664f47
commit a1203b3d3b

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;
} }