aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
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/backend
parent277df4a98d11e14f7029030905e65a0804a886ff (diff)
downloadgsoc2013-evolution-ccb35fc22778b540fc763adcc24615ea3470ecd5.tar.gz
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/backend')
-rw-r--r--addressbook/backend/ebook/e-card.c1
1 files changed, 1 insertions, 0 deletions
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;
}