aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook/eab-composer-util.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-18 01:54:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-18 02:59:25 +0800
commitc745f731823dec03232e656352fcdba29eb57b96 (patch)
treecad99a77ad816aa49ba7f039a19a13cc1f62853a /modules/addressbook/eab-composer-util.c
parent4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2 (diff)
downloadgsoc2013-evolution-c745f731823dec03232e656352fcdba29eb57b96.tar.gz
gsoc2013-evolution-c745f731823dec03232e656352fcdba29eb57b96.tar.zst
gsoc2013-evolution-c745f731823dec03232e656352fcdba29eb57b96.zip
Don't unref destinations in eab_send_as_to().
This was mistakenly finalizing EDestinations handed off to the composer, causing the composer to crash.
Diffstat (limited to 'modules/addressbook/eab-composer-util.c')
-rw-r--r--modules/addressbook/eab-composer-util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/addressbook/eab-composer-util.c b/modules/addressbook/eab-composer-util.c
index 6d45f13a94..a54f5fbf7d 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));
}