aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-header-table.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-06-25 02:43:16 +0800
committerMilan Crha <mcrha@redhat.com>2010-06-25 02:43:16 +0800
commit179db75ce041706a590e90a6ac7b801b36091ed6 (patch)
tree1aad2005c928c833690303d749e477e872009aa2 /composer/e-composer-header-table.c
parent9d538474a855d64e338bf7a94925cbde31a81bd5 (diff)
downloadgsoc2013-evolution-179db75ce041706a590e90a6ac7b801b36091ed6.tar.gz
gsoc2013-evolution-179db75ce041706a590e90a6ac7b801b36091ed6.tar.zst
gsoc2013-evolution-179db75ce041706a590e90a6ac7b801b36091ed6.zip
Bug #620815 - Memory leaks with Evolution
Diffstat (limited to 'composer/e-composer-header-table.c')
-rw-r--r--composer/e-composer-header-table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/composer/e-composer-header-table.c b/composer/e-composer-header-table.c
index 4e1d5232a8..b83bcd96db 100644
--- a/composer/e-composer-header-table.c
+++ b/composer/e-composer-header-table.c
@@ -471,6 +471,7 @@ composer_header_table_from_changed_cb (EComposerHeaderTable *table)
composer_header_table_update_destinations (
old_destinations, always_cc ? account->cc_addrs : NULL);
e_composer_header_table_set_destinations_cc (table, new_destinations);
+ e_destination_freev (old_destinations);
e_destination_freev (new_destinations);
/* Update automatic BCC destinations. */
@@ -480,6 +481,7 @@ composer_header_table_from_changed_cb (EComposerHeaderTable *table)
composer_header_table_update_destinations (
old_destinations, always_bcc ? account->bcc_addrs : NULL);
e_composer_header_table_set_destinations_bcc (table, new_destinations);
+ e_destination_freev (old_destinations);
e_destination_freev (new_destinations);
/* XXX We should NOT be checking specific account types here.