aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-completion.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-28 16:07:48 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-28 16:07:48 +0800
commit696e47cd0f31a9ff86754fc643af548a1ee000eb (patch)
tree9df6ec569398388467f7c204faa05ab2b8c65ad4 /addressbook/gui/component/select-names/e-select-names-completion.c
parent76d4c1a98efaab7d5d06edcde2ede189aa9b39e6 (diff)
downloadgsoc2013-evolution-696e47cd0f31a9ff86754fc643af548a1ee000eb.tar.gz
gsoc2013-evolution-696e47cd0f31a9ff86754fc643af548a1ee000eb.tar.zst
gsoc2013-evolution-696e47cd0f31a9ff86754fc643af548a1ee000eb.zip
[ 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
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-completion.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-completion.c1
1 files changed, 1 insertions, 0 deletions
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