aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-xml-utils.c6
-rw-r--r--e-util/e-xml-utils.c-568266
2 files changed, 6 insertions, 6 deletions
diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c
index 7eb54105d1..db9cfafb92 100644
--- a/e-util/e-xml-utils.c
+++ b/e-util/e-xml-utils.c
@@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
void
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
{
- xmlChar *value = g_strdup_printf("%d", value);
- xmlSetProp(parent, prop_name, value);
- g_free (value);
+ xmlChar *valuestr = g_strdup_printf("%d", value);
+ xmlSetProp(parent, prop_name, valuestr);
+ g_free (valuestr);
}
diff --git a/e-util/e-xml-utils.c-56826 b/e-util/e-xml-utils.c-56826
index 7eb54105d1..db9cfafb92 100644
--- a/e-util/e-xml-utils.c-56826
+++ b/e-util/e-xml-utils.c-56826
@@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
void
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
{
- xmlChar *value = g_strdup_printf("%d", value);
- xmlSetProp(parent, prop_name, value);
- g_free (value);
+ xmlChar *valuestr = g_strdup_printf("%d", value);
+ xmlSetProp(parent, prop_name, valuestr);
+ g_free (valuestr);
}