aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
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;