aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2009-11-09 17:17:10 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2009-11-09 17:17:10 +0800
commit39b456243022a8ade0ae45512cc636eac0f7fc81 (patch)
treefc556b0e08b68d52385b9571714ae1223ad09793
parentda16135f08ff62fde4b8c20a043d17b6a4997205 (diff)
downloadgsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.tar
gsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.tar.gz
gsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.tar.bz2
gsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.tar.lz
gsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.tar.xz
gsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.tar.zst
gsoc2013-evolution-39b456243022a8ade0ae45512cc636eac0f7fc81.zip
Bug #601229 - Crashes when replying a mail.
-rw-r--r--em-format/em-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 1285bcbf92..d3ab13b013 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1632,7 +1632,7 @@ emf_multipart_related(EMFormat *emf, CamelStream *stream, CamelMimePart *part, c
link = g_queue_peek_head_link (emf->pending_uri_level->data);
- while (link->next != NULL) {
+ while (link && link->next != NULL) {
EMFormatPURI *puri = link->data;
if (puri->use_count == 0) {