From 35f9c1d29b3ed03486944b83a4c3dc54776e33d5 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 12 Jul 2002 23:58:45 +0000 Subject: Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although there's still something wrong. svn path=/trunk/; revision=17446 --- addressbook/gui/component/select-names/e-select-names-bonobo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c index a8d0975771..95fc4bc262 100644 --- a/addressbook/gui/component/select-names/e-select-names-bonobo.c +++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c @@ -126,7 +126,7 @@ entry_get_property_fn (BonoboPropertyBag *bag, card_list->_buffer[i] = bonobo_object_corba_objref (BONOBO_OBJECT (simple_card)); } - CORBA_free (arg->_value); + CORBA_free (*(GNOME_Evolution_Addressbook_SimpleCardList **)arg->_value); BONOBO_ARG_SET_GENERAL (arg, card_list, TC_GNOME_Evolution_Addressbook_SimpleCardList, GNOME_Evolution_Addressbook_SimpleCardList *, NULL); } break; -- cgit v1.2.3