diff options
author | JP Rosevear <jpr@ximian.com> | 2001-01-23 14:49:26 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-23 14:49:26 +0800 |
commit | 1367c80fedb90e8e210baea17b1d39af25225650 (patch) | |
tree | 12fc71956d0d15c2eeee34e268187705eaf3833c /addressbook | |
parent | 4e6218b86bba68aea073482ec62b645e04f941ab (diff) | |
download | gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar.gz gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar.zst gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.zip |
properly ref the ecard. still need to kill some memory leaks.
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.
svn path=/trunk/; revision=7742
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/conduit/address-conduit.c | 1 |
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); |