Don't unref destinations in eab_send_as_to().

This was mistakenly finalizing EDestinations handed off to the
composer, causing the composer to crash.
This commit is contained in:
Matthew Barnes
2009-11-17 12:54:19 -05:00
parent 4eb800f5fa
commit c745f73182

View File

@ -77,14 +77,12 @@ eab_send_as_to (GList *destinations)
e_composer_header_table_set_destinations_to (
table, convert.destinations);
g_ptr_array_free (to_array, FALSE);
e_destination_freev (convert.destinations);
/* Add "Bcc" destinations. */
convert.pdata = bcc_array->pdata;
e_composer_header_table_set_destinations_bcc (
table, convert.destinations);
g_ptr_array_free (bcc_array, FALSE);
e_destination_freev (convert.destinations);
gtk_widget_show (GTK_WIDGET (composer));
}