aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-xml-hash-utils.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index edda367a86..46e98bd219 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-19 Dan Winship <danw@ximian.com>
+
+ * e-xml-hash-utils.c (e_xml_to_hash): don't leak an extra copy of
+ the values
+
2003-06-14 Larry Ewing <lewing@ximian.com>
* e-name-western.c (e_name_western_get_suffix_at_str_end): free
diff --git a/e-util/e-xml-hash-utils.c b/e-util/e-xml-hash-utils.c
index e82d5ab237..e3a7e62951 100644
--- a/e-util/e-xml-hash-utils.c
+++ b/e-util/e-xml-hash-utils.c
@@ -54,6 +54,7 @@ e_xml_to_hash (xmlDoc *doc, EXmlHashType type)
}
g_hash_table_insert (hash, g_strdup (key), g_strdup (value));
+ xmlFree (value);
}
return hash;