aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-input.c')
-rw-r--r--filter/filter-input.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/filter/filter-input.c b/filter/filter-input.c
index dc35f2bec3..aa22771bf2 100644
--- a/filter/filter-input.c
+++ b/filter/filter-input.c
@@ -273,11 +273,12 @@ xml_decode (FilterElement *fe, xmlNodePtr node)
if (!strcmp (n->name, type)) {
gchar *decstr;
str = xmlNodeGetContent (n);
- decstr = e_utf8_xml1_decode (str);
- if (str)
+ if (str) {
+ decstr = e_utf8_xml1_decode (str);
xmlFree (str);
- d(printf (" '%s'\n", decstr));
- fi->values = g_list_append (fi->values, decstr);
+ d(printf (" '%s'\n", decstr));
+ fi->values = g_list_append (fi->values, decstr);
+ }
} else {
g_warning ("Unknown node type '%s' encountered decoding a %s\n", n->name, type);
}