GDBusActionGroup: don't leak param_str
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 13 Dec 2011 18:16:55 +0000 (18:16 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 14 Dec 2011 12:26:17 +0000 (12:26 +0000)
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>
gio/gdbusactiongroup.c

index 016d293..41cf995 100644 (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;