[evolution] Don't unref destinations in eab_send_as_to().



commit c745f731823dec03232e656352fcdba29eb57b96
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Nov 17 12:54:19 2009 -0500

    Don't unref destinations in eab_send_as_to().
    
    This was mistakenly finalizing EDestinations handed off to the
    composer, causing the composer to crash.

 modules/addressbook/eab-composer-util.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/modules/addressbook/eab-composer-util.c b/modules/addressbook/eab-composer-util.c
index 6d45f13..a54f5fb 100644
--- a/modules/addressbook/eab-composer-util.c
+++ b/modules/addressbook/eab-composer-util.c
@@ -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));
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]