g_dbus_action_group_changed: don't leak iterator and its contents
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 13 Dec 2011 18:17:13 +0000 (18:17 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 14 Dec 2011 12:26:16 +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: Emmanuele Bassi <ebassi@linux.intel.com>
gio/gdbusactiongroup.c

index d84e239cad441d023b8376ae4686989e26742f92..016d29312ffc208199fdffa7bd28e00999717562 100644 (file)
@@ -229,6 +229,7 @@ g_dbus_action_group_changed (GDBusConnection *connection,
             else
               action_info_free (info);
           }
+        g_variant_iter_free (iter);
       }
     }
 }