aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-send-recv.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index de4f716089..b733e5131a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-03 <NotZed@Ximian.com>
+ * mail-send-recv.c (build_dialogue): Only build destination data
+ if we have destination != NULL. Fixes crash of bug #10835.
+
* folder-browser.c (folder_browser_config_search): Set 'to' ->
'recipient' data for search object. #6199.
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d758bd6dca..62f9c789c6 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -358,7 +358,7 @@ build_dialogue (GSList *sources, CamelFolder *outbox, const char *destination)
row++;
gtk_widget_show_all (GTK_WIDGET (table));
- if (outbox) {
+ if (outbox && destination) {
info = g_hash_table_lookup (data->active, destination);
if (info == NULL) {
info = g_malloc0 (sizeof (*info));