Oops. I introduced my own bug, accidently set `email' to a g_free'd

2001-07-12  Jeffrey Stedfast  <fejj@ximian.com>

	* backend/ebook/e-destination.c (e_destination_xml_decode):
	Oops. I introduced my own bug, accidently set `email' to a
	g_free'd pointer - eek!

svn path=/trunk/; revision=11073
This commit is contained in:
Jeffrey Stedfast
2001-07-12 23:03:20 +00:00
committed by Jeffrey Stedfast
parent 3ce970fde7
commit eb445aed12
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* backend/ebook/e-destination.c (e_destination_xml_decode):
Oops. I introduced my own bug, accidently set `email' to a
g_free'd pointer - eek!
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* backend/ebook/e-destination.c (e_destination_importv): Optimized

View File

@ -724,7 +724,7 @@ e_destination_xml_decode (EDestination *dest, xmlNodePtr node)
} else if (!is_list && !strcmp (node->name, "email")) {
tmp = xmlNodeGetContent (node);
g_free (email);
email = g_strdup (email);
email = g_strdup (tmp);
xmlFree (tmp);
} else if (is_list && !strcmp (node->name, "list_entry")) {
xmlNodePtr subnode = node->xmlChildrenNode;