diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-29 05:23:32 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-29 05:23:32 +0800 |
commit | 353f8187b88ee39b08d33845461bc853c454f4d5 (patch) | |
tree | 16169568bab9b464c9f119e159c4b50fdd5349a2 /mail/mail-format.c | |
parent | d591587d8f36e9cf4a1abb16f14f2feee8e507fb (diff) | |
download | gsoc2013-evolution-353f8187b88ee39b08d33845461bc853c454f4d5.tar.gz gsoc2013-evolution-353f8187b88ee39b08d33845461bc853c454f4d5.tar.zst gsoc2013-evolution-353f8187b88ee39b08d33845461bc853c454f4d5.zip |
Fix a bug that could cause a crash on messages with an empty subject.
* mail-format.c (write_text_header): Fix a bug that could cause a
crash on messages with an empty subject. Oops.
svn path=/trunk/; revision=10034
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index fcaa02c130..af6a870b22 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -661,7 +661,7 @@ write_text_header (const char *name, const char *value, int flags, GtkHTML *html mail_html_write (html, stream, "%s</td> </tr>", encoded); - if (value) + if (value && *value) g_free (encoded); } |