mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
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:
commit
cc5445ee04
@ -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,
|
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
|
||||||
"Unknown action ‘%s’", name);
|
"Unknown action ‘%s’", name);
|
||||||
g_clear_pointer (¶meter, g_variant_unref);
|
g_variant_iter_free (iter);
|
||||||
g_variant_unref (platform_data);
|
g_variant_unref (platform_data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user