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:
f040971
)
Fix crash when parse component.
author
Huang Peng
<shawn.p.huang@gmail.com>
Tue, 24 Feb 2009 00:27:55 +0000
(08:27 +0800)
committer
Huang Peng
<shawn.p.huang@gmail.com>
Tue, 24 Feb 2009 00:27:55 +0000
(08:27 +0800)
src/ibuscomponent.c
patch
|
blob
|
history
diff --git
a/src/ibuscomponent.c
b/src/ibuscomponent.c
index 9ca487d3a141f74865201979d0814e0391c8368e..3d700d6225f805522ae7954416ef94705179c3b9 100644
(file)
--- a/
src/ibuscomponent.c
+++ b/
src/ibuscomponent.c
@@
-481,12
+481,10
@@
ibus_component_parse_engines (IBusComponent *component,
g_free (output);
if (engines_node) {
- if (g_strcmp0 (engines_node->name, "engines") != 0) {
- ibus_xml_free (engines_node);
- engines_node = NULL;
+ if (g_strcmp0 (engines_node->name, "engines") == 0) {
+ node = engines_node;
}
}
- node = engines_node;
}
}