Merge branch 'gapplication-error-path-leak' into 'main'

gapplication: Fix a small leak on an error handling path

See merge request GNOME/glib!4045
This commit is contained in:
Marco Trevisan 2024-05-07 17:09:34 +00:00
commit cc5445ee04

View File

@ -299,7 +299,7 @@ g_application_impl_method_call (GDBusConnection *connection,
{
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
"Unknown action %s", name);
g_clear_pointer (&parameter, g_variant_unref);
g_variant_iter_free (iter);
g_variant_unref (platform_data);
return;
}