GDBusNodeInfo: remove a spurious for loop

https://bugzilla.gnome.org/show_bug.cgi?id=679671
This commit is contained in:
Rui Matos
2012-07-10 11:38:34 +02:00
committed by Matthias Clasen
parent f0fe7d5ec9
commit aa6239d999

View File

@@ -1815,15 +1815,12 @@ g_dbus_node_info_new_for_xml (const gchar *xml_data,
num_nodes); num_nodes);
/* clean up */ /* clean up */
for (n = 0; n < num_nodes; n++)
{
for (n = 0; n < num_nodes; n++) for (n = 0; n < num_nodes; n++)
{ {
g_dbus_node_info_unref (ughret[n]); g_dbus_node_info_unref (ughret[n]);
ughret[n] = NULL; ughret[n] = NULL;
} }
} }
}
ret = ughret[0]; ret = ughret[0];
g_free (ughret); g_free (ughret);