aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-07-27 16:26:16 +0800
committerSeth Alves <alves@src.gnome.org>2000-07-27 16:26:16 +0800
commit324c39e2cce3454eec44f7afc92b96dd478e91e6 (patch)
tree61dec450668a6042c550799aa534964893680bdf
parentb9185160531ef5c1826fa0e2870804ac3fe4a16b (diff)
downloadgsoc2013-evolution-324c39e2cce3454eec44f7afc92b96dd478e91e6.tar.gz
gsoc2013-evolution-324c39e2cce3454eec44f7afc92b96dd478e91e6.tar.zst
gsoc2013-evolution-324c39e2cce3454eec44f7afc92b96dd478e91e6.zip
remove double free
svn path=/trunk/; revision=4379
-rw-r--r--addressbook/conduit/address-conduit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index d347a8d3a0..632724c830 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -897,16 +897,14 @@ transmit (GnomePilotConduitStandardAbs *conduit,
local->address->entry [ entryFirstname ] = strdup (ecard_name->given);
if (ecard_name->family)
local->address->entry [ entryLastname ] = strdup (ecard_name->family);
- e_card_name_free (ecard_name);
+ // e_card_name_free (ecard_name);
}
if (ecard_org) {
local->address->entry [ entryCompany ] = strdup (ecard_org);
- g_free (ecard_org);
}
if (ecard_title) {
local->address->entry [ entryTitle ] = strdup (ecard_title);
- g_free (ecard_title);
}
if (ecard_phones) {
int phone_entry = entryPhone1;
@@ -928,7 +926,6 @@ transmit (GnomePilotConduitStandardAbs *conduit,
if (ecard_note) {
local->address->entry [ entryNote ] = strdup (ecard_note);
- g_free (ecard_note);
}
#if 0
printf ("transmitting address to pilot [%s] complete=%d/%ld\n",