aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-16 20:24:41 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-16 20:24:41 +0800
commitccb35fc22778b540fc763adcc24615ea3470ecd5 (patch)
treef9f2352b756d7451e8044a2fec1993b92c257a30 /addressbook
parent277df4a98d11e14f7029030905e65a0804a886ff (diff)
downloadgsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar
gsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar.gz
gsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar.bz2
gsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar.lz
gsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar.xz
gsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar.zst
gsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.zip
Fixed a large memory leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c (e_card_get_vcard): Fixed a large memory leak. svn path=/trunk/; revision=3088
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/backend/ebook/e-card.c1
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 4334e48595..50df303b87 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,6 +1,11 @@
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
- * backend/ebook/e-card.c (add_list_unique): Fixed another memory leak.
+ * backend/ebook/e-card.c (e_card_get_vcard): Fixed a large memory leak.
+
+2000-05-16 Christopher James Lahey <clahey@helixcode.com>
+
+ * backend/ebook/e-card.c (add_list_unique): Fixed another memory
+ leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c
index ac2498a236..6052e7568e 100644
--- a/addressbook/backend/ebook/e-card.c
+++ b/addressbook/backend/ebook/e-card.c
@@ -485,6 +485,7 @@ char
temp = writeMemVObject(NULL, NULL, vobj);
ret_val = g_strdup(temp);
free(temp);
+ cleanVObject(vobj);
return ret_val;
}