projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f23c33
)
GDBusNodeInfo: remove a spurious for loop
author
Rui Matos
<tiagomatos@gmail.com>
Tue, 10 Jul 2012 09:38:34 +0000
(11:38 +0200)
committer
Rui Matos
<tiagomatos@gmail.com>
Wed, 11 Jul 2012 01:27:29 +0000
(
03:27
+0200)
https://bugzilla.gnome.org/show_bug.cgi?id=679671
gio/gdbusintrospection.c
patch
|
blob
|
history
diff --git
a/gio/gdbusintrospection.c
b/gio/gdbusintrospection.c
index
e24e5a7
..
30ad266
100644
(file)
--- 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;
}
}