diff options
author | Rui Matos <tiagomatos@gmail.com> | 2012-07-10 11:38:34 +0200 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2012-07-11 03:27:29 +0200 |
commit | eda1735029e01d6391fe8a4cde6c5688727c8183 (patch) | |
tree | 96d49a1ffd70807adc02e9ebe068098258a23465 | |
parent | 6f23c33831f69ef111d22491586d1dfdd8ca3693 (diff) | |
download | glib-eda1735029e01d6391fe8a4cde6c5688727c8183.tar.gz |
GDBusNodeInfo: remove a spurious for loop
https://bugzilla.gnome.org/show_bug.cgi?id=679671
-rw-r--r-- | gio/gdbusintrospection.c | 7 |
1 files 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; } } |