From f69024938edb58e12fce6bf407c2cf1720caae5a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 6 Feb 2004 18:22:05 +0000 Subject: implement 2004-02-06 JP Rosevear * importers/evolution-ldif-importer.c (importer_destroy_cb): implement svn path=/trunk/; revision=24655 --- addressbook/importers/evolution-ldif-importer.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'addressbook/importers') 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 -- cgit v1.2.3