mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
GDBusActionGroup: don't leak param_str
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen <mclasen@redhat.com>
This commit is contained in:
parent
c49a4dba82
commit
a48edddc19
@ -100,7 +100,7 @@ action_info_new_from_iter (GVariantIter *iter)
|
|||||||
GVariant *state;
|
GVariant *state;
|
||||||
gchar *name;
|
gchar *name;
|
||||||
|
|
||||||
if (!g_variant_iter_next (iter, "{s(bg@av)}", &name,
|
if (!g_variant_iter_next (iter, "{s(b&g@av)}", &name,
|
||||||
&enabled, ¶m_str, &state))
|
&enabled, ¶m_str, &state))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user