aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/importers/evolution-ldif-importer.c13
2 files changed, 17 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 5065372b2c..0ee151b337 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2004-02-06 JP Rosevear <jpr@ximian.com>
+ * importers/evolution-ldif-importer.c (importer_destroy_cb):
+ implement
+
+2004-02-06 JP Rosevear <jpr@ximian.com>
+
* importers/evolution-vcard-importer.c (importer_destroy_cb):
implement
(load_file_fn): use g_file_get_contents to get a string we can
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