diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/e-composer-header-table.c | 2 | ||||
-rw-r--r-- | composer/e-composer-name-header.c | 2 |
2 files changed, 4 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. diff --git a/composer/e-composer-name-header.c b/composer/e-composer-name-header.c index 46121eb7ba..18714abecd 100644 --- a/composer/e-composer-name-header.c +++ b/composer/e-composer-name-header.c @@ -154,6 +154,8 @@ composer_name_header_constructor (GType type, NULL); E_COMPOSER_HEADER (object)->input_widget = g_object_ref_sink (entry); + g_free (label); + return object; } |