diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-08-28 22:47:12 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-08-28 22:47:12 +0800 |
commit | e3ee83bce2ba4c2b10d7412584596de386a6ae3a (patch) | |
tree | 81c4929e78e9a82442288c1bdfea10b9c6129757 | |
parent | b00f07e21d45e0b6ecd4689dd48d24feae42572d (diff) | |
download | gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.tar gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.tar.gz gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.tar.bz2 gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.tar.lz gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.tar.xz gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.tar.zst gsoc2013-evolution-e3ee83bce2ba4c2b10d7412584596de386a6ae3a.zip |
EMsgComposer - Avoid crash when "editting as new" the plain text message without text
Initialize the used variables with default values.
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index a728263524..93c7ef4790 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -3528,8 +3528,8 @@ e_msg_composer_new_with_message (EShell *shell, } else { CamelMimePart *mime_part; gboolean is_html = FALSE; - gchar *html; - gssize length; + gchar *html = NULL; + gssize length = 0; mime_part = CAMEL_MIME_PART (message); content_type = camel_mime_part_get_content_type (mime_part); |