diff --git a/addressbook/tools/evolution-addressbook-export-list-cards.c b/addressbook/tools/evolution-addressbook-export-list-cards.c
index eee2fe9..20135f9 100644
--- a/addressbook/tools/evolution-addressbook-export-list-cards.c
+++ b/addressbook/tools/evolution-addressbook-export-list-cards.c
@@ -767,6 +767,13 @@ set_pre_defined_field (GSList **pre_defined_fields)
 	*pre_defined_fields = g_slist_append (*pre_defined_fields, GINT_TO_POINTER (E_CONTACT_CSV_NOTE));
 }
 
+static void
+object_gone_cb (gpointer user_data,
+		GObject *obj)
+{
+	printf ("%s: %p\n", __FUNCTION__, obj);
+}
+
 guint
 action_list_cards_init (ESourceRegistry *registry,
                         ActionContext *p_actctx)
@@ -821,6 +828,7 @@ action_list_cards_init (ESourceRegistry *registry,
 
 	g_slist_foreach (contacts, (GFunc) g_object_unref, NULL);
 	g_slist_free (contacts);
+	g_object_weak_ref (G_OBJECT (book_client), object_gone_cb, NULL);
 	g_object_unref (book_client);
 
 	if (error) {
