projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605f48b
)
Fix error in ibus_prop_list_destroy function.
author
Peng Huang
<shawn.p.huang@gmail.com>
Mon, 10 Aug 2009 05:08:16 +0000
(13:08 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Mon, 10 Aug 2009 05:08:16 +0000
(13:08 +0800)
src/ibusproperty.c
patch
|
blob
|
history
diff --git
a/src/ibusproperty.c
b/src/ibusproperty.c
index
449f23c
..
1b70f70
100644
(file)
--- a/
src/ibusproperty.c
+++ b/
src/ibusproperty.c
@@
-439,9
+439,8
@@
ibus_prop_list_destroy (IBusPropList *prop_list)
p = (IBusProperty **) g_array_free (prop_list->properties, FALSE);
-
while (p[i] != NULL
) {
+
for (i = 0; p[i] != NULL; i++
) {
g_object_unref (p[i]);
- i ++;
}
g_free (p);