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/conduit/address-conduit.c | |
parent | 4e6218b86bba68aea073482ec62b645e04f941ab (diff) | |
download | gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar.gz gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar.bz2 gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar.lz gsoc2013-evolution-1367c80fedb90e8e210baea17b1d39af25225650.tar.xz 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/conduit/address-conduit.c')
-rw-r--r-- | addressbook/conduit/address-conduit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |