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:
committed by
Jeffrey Stedfast
parent
3ce970fde7
commit
eb445aed12
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user