From eb445aed1219c25523942d511d8ac67ef463a554 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 12 Jul 2001 23:03:20 +0000 Subject: Oops. I introduced my own bug, accidently set `email' to a g_free'd 2001-07-12 Jeffrey Stedfast * 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 --- addressbook/backend/ebook/e-destination.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/backend') diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c index 2e1f6c802e..7b88ea4fb4 100644 --- a/addressbook/backend/ebook/e-destination.c +++ b/addressbook/backend/ebook/e-destination.c @@ -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; -- cgit v1.2.3