diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-13 07:03:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-13 07:03:20 +0800 |
commit | eb445aed1219c25523942d511d8ac67ef463a554 (patch) | |
tree | 6eafc2d46ff38f0babdbb02254a4ec0795c6fcca /addressbook/backend/ebook | |
parent | 3ce970fde70e786a2565f58f8d74a77d720a253b (diff) | |
download | gsoc2013-evolution-eb445aed1219c25523942d511d8ac67ef463a554.tar.gz 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/ebook')
-rw-r--r-- | addressbook/backend/ebook/e-destination.c | 2 |
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; |