aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
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')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names-completion.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index f9bf8ad0e6..fdb81b51e2 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,12 @@
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 ]
* backend/pas/evolutionperson.schema: deprecate "categories" in
favor of "category". evolution no longer uses "categories".
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