From 696e47cd0f31a9ff86754fc643af548a1ee000eb Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 28 Aug 2002 08:07:48 +0000 Subject: [ fixes #28897 ] set book_data to NULL after clearing/freeing the list. 2002-08-28 Chris Toshok [ fixes #28897 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_clear_book_data): set book_data to NULL after clearing/freeing the list. fixes a crash. svn path=/trunk/; revision=17887 --- addressbook/gui/component/select-names/e-select-names-completion.c | 1 + 1 file changed, 1 insertion(+) (limited to 'addressbook/gui/component') diff --git a/addressbook/gui/component/select-names/e-select-names-completion.c b/addressbook/gui/component/select-names/e-select-names-completion.c index c2ff6f9640..ae27a8c675 100644 --- a/addressbook/gui/component/select-names/e-select-names-completion.c +++ b/addressbook/gui/component/select-names/e-select-names-completion.c @@ -759,6 +759,7 @@ e_select_names_completion_clear_book_data (ESelectNamesCompletion *comp) g_free (book_data); } g_list_free (comp->priv->book_data); + comp->priv->book_data = NULL; } static void -- cgit v1.2.3