diff options
author | Dan Winship <danw@src.gnome.org> | 2003-06-20 22:36:58 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-06-20 22:36:58 +0800 |
commit | a6056c7493a946bb291610d3caed793786afdb9c (patch) | |
tree | d5f7a6d283ae0e831c59306450a44f91d5c0975b /e-util | |
parent | 1c18cd11c17d3e3e2f91bb58f68eafc20f16e306 (diff) | |
download | gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.tar gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.tar.gz gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.tar.bz2 gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.tar.lz gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.tar.xz gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.tar.zst gsoc2013-evolution-a6056c7493a946bb291610d3caed793786afdb9c.zip |
don't leak an extra copy of the values
* e-xml-hash-utils.c (e_xml_to_hash): don't leak an extra copy of
the values
svn path=/trunk/; revision=21497
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-xml-hash-utils.c | 1 |
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; |