aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-13 07:03:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-13 07:03:20 +0800
commiteb445aed1219c25523942d511d8ac67ef463a554 (patch)
tree6eafc2d46ff38f0babdbb02254a4ec0795c6fcca /addressbook/backend
parent3ce970fde70e786a2565f58f8d74a77d720a253b (diff)
downloadgsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar
gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar.gz
gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar.bz2
gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar.lz
gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar.xz
gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar.zst
gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.zip
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
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-destination.c2
1 files changed, 1 insertions, 1 deletions
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;