From aa6239d9998995a69cb65c6ea9ad2723a39e1cf8 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Tue, 10 Jul 2012 11:38:34 +0200 Subject: [PATCH] GDBusNodeInfo: remove a spurious for loop https://bugzilla.gnome.org/show_bug.cgi?id=679671 --- gio/gdbusintrospection.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gio/gdbusintrospection.c b/gio/gdbusintrospection.c index e24e5a7e9..30ad26694 100644 --- a/gio/gdbusintrospection.c +++ b/gio/gdbusintrospection.c @@ -1817,11 +1817,8 @@ g_dbus_node_info_new_for_xml (const gchar *xml_data, /* clean up */ for (n = 0; n < num_nodes; n++) { - for (n = 0; n < num_nodes; n++) - { - g_dbus_node_info_unref (ughret[n]); - ughret[n] = NULL; - } + g_dbus_node_info_unref (ughret[n]); + ughret[n] = NULL; } }