aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-02-07 02:22:05 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-02-07 02:22:05 +0800
commitf69024938edb58e12fce6bf407c2cf1720caae5a (patch)
tree93243b5994c2083aee22627b77a35166f659e56a /addressbook/importers
parente75aa2712e5ae4df8c42c28df7238bd13e0510e9 (diff)
downloadgsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.gz
gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.zst
gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.zip
implement
2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-ldif-importer.c (importer_destroy_cb): implement svn path=/trunk/; revision=24655
Diffstat (limited to 'addressbook/importers')
-rw-r--r--addressbook/importers/evolution-ldif-importer.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c
index eef9f22d23..f8c697506c 100644
--- a/addressbook/importers/evolution-ldif-importer.c
+++ b/addressbook/importers/evolution-ldif-importer.c
@@ -555,7 +555,18 @@ static void
importer_destroy_cb (gpointer data,
GObject *where_object_was)
{
- /* FIXME Implement */
+ LDIFImporter *gci = data;
+
+ if (gci->primary)
+ g_object_unref (gci->primary);
+
+ if (gci->book)
+ g_object_unref (gci->book);
+
+ g_list_foreach (gci->contactlist, (GFunc) g_object_unref, NULL);
+ g_list_free (gci->contactlist);
+
+ g_free (gci);
}
static gboolean