aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/conduit/address-conduit.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 956018684e..863b3b6870 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-23 JP Rosevear <jpr@ximian.com>
+
+ * conduit/address-conduit.c (local_record_from_ecard): properly ref
+ the ecard. still need to kill some memory leaks.
+
2001-01-22 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: remove vfs dependency
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index 47a066970e..907456d985 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -343,6 +343,7 @@ local_record_from_ecard (EAddrLocalRecord *local, ECard *ecard, EAddrConduitCont
g_return_if_fail (ecard != NULL);
local->ecard = ecard;
+ gtk_object_ref (GTK_OBJECT (ecard));
simple = e_card_simple_new (ecard);
local->local.ID = e_pilot_map_lookup_pid (ctxt->map, ecard->id);