aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-01-23 14:49:26 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-23 14:49:26 +0800
commit1367c80fedb90e8e210baea17b1d39af25225650 (patch)
tree12fc71956d0d15c2eeee34e268187705eaf3833c /addressbook/conduit
parent4e6218b86bba68aea073482ec62b645e04f941ab (diff)
downloadgsoc2013-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')
-rw-r--r--addressbook/conduit/address-conduit.c1
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);