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:
Simon McVittie 2011-12-13 18:16:55 +00:00
parent c49a4dba82
commit a48edddc19

View File

@ -100,7 +100,7 @@ action_info_new_from_iter (GVariantIter *iter)
GVariant *state;
gchar *name;
if (!g_variant_iter_next (iter, "{s(bg@av)}", &name,
if (!g_variant_iter_next (iter, "{s(b&g@av)}", &name,
&enabled, &param_str, &state))
return NULL;