mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
GApplication: don't leak 'hint' on remote Open
We were using format string "s" to deconstruct the open hint into a 'const gchar *' which, of course, we never freed. Fix that.
This commit is contained in:
parent
706e636ab8
commit
0646e00e25
@ -185,7 +185,7 @@ g_application_impl_method_call (GDBusConnection *connection,
|
||||
GFile **files;
|
||||
gint n, i;
|
||||
|
||||
g_variant_get (parameters, "(@ass@a{sv})",
|
||||
g_variant_get (parameters, "(@as&s@a{sv})",
|
||||
&array, &hint, &platform_data);
|
||||
|
||||
n = g_variant_n_children (array);
|
||||
|
Loading…
x
Reference in New Issue
Block a user