Only build destination data if we have destination != NULL. Fixes crash of
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. svn path=/trunk/; revision=13400
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user