diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2005-07-13 18:37:16 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2005-07-13 18:37:16 +0800 |
commit | bb714f46f72ea07579da4d988a08fa33eb8edb1e (patch) | |
tree | e3a966e00c8d09275a994a9b7b75a758f3cdc7af /composer/e-msg-composer.c | |
parent | 4afc6e2f2a877441d36c670ef58fe31360a83e63 (diff) | |
download | gsoc2013-evolution-bb714f46f72ea07579da4d988a08fa33eb8edb1e.tar.gz gsoc2013-evolution-bb714f46f72ea07579da4d988a08fa33eb8edb1e.tar.zst gsoc2013-evolution-bb714f46f72ea07579da4d988a08fa33eb8edb1e.zip |
Don't leak the file name here.
2005-07-13 Kjartan Maraas <kmaraas@gnome.org>
* e-msg-composer-select-file.c: (select_attach_response): Don't
leak the file name here.
svn path=/trunk/; revision=29757
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 45bc84d4bc..e68384c3aa 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -492,7 +492,7 @@ build_message (EMsgComposer *composer, gboolean save_html_object_data) } /* FIXME: we may want to do better than this... */ - charset = best_charset (data, composer->charset, &plain_encoding); + type = camel_content_type_new ("text", "plain"); if ((charset = best_charset (data, composer->charset, &plain_encoding))) { camel_content_type_set_param (type, "charset", charset); |