[ fixes #28897 ] set book_data to NULL after clearing/freeing the list.

2002-08-28  Chris Toshok  <toshok@ximian.com>

	[ 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
This commit is contained in:
Chris Toshok
2002-08-28 08:07:48 +00:00
committed by Chris Toshok
parent 76d4c1a98e
commit 696e47cd0f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2002-08-28 Chris Toshok <toshok@ximian.com>
[ 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.
2002-08-28 Chris Toshok <toshok@ximian.com>
[ fixes #20348 ]

View File

@ -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